KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > mondrian > olap > Walkable


1 /*
2 // $Id: //open/mondrian/src/main/mondrian/olap/Walkable.java#3 $
3 // This software is subject to the terms of the Common Public License
4 // Agreement, available at the following URL:
5 // http://www.opensource.org/licenses/cpl.html.
6 // Copyright (C) 1999-2002 Kana Software, Inc.
7 // Copyright (C) 2001-2005 Julian Hyde and others
8 // All Rights Reserved.
9 // You must accept the terms of that agreement to use this software.
10 //
11 // jhyde, 1 March, 1999
12 */

13
14 package mondrian.olap;
15
16 /**
17  * An object which implements <code>Walkable</code> can be tree-walked by
18  * {@link Walker}.
19  */

20 interface Walkable {
21     /**
22      * Returns an array of the object's children. Those which are not {@link
23      * Walkable} are ignored.
24      */

25     Object JavaDoc[] getChildren();
26 }
27
28 // End Walkable.java
29
Popular Tags