Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## org.apache.cayenne.util
Class TraversalUtil

    java.lang.Object
      org.apache.cayenne.util.TraversalUtil

    public class TraversalUtil

extends Object

Defines tree traversal utility methods. Object tree sematics is determined using `TreeNodeChild` property getter annotation.

Author:
  Andrus Adamchik

Constructor Summary
`TraversalUtil()`

Method Summary
`static void` | `traverse(Object treeRoot, HierarchicalTreeVisitor visitor)` Performs tree traversal with a given visitor starting with a given node.

Methods inherited from class java.lang.Object
`clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

Constructor Detail

### TraversalUtil

    public TraversalUtil()

Method Detail

### traverse

    public static void traverse(Object treeRoot,
                                HierarchicalTreeVisitor visitor)

  Performs tree traversal with a given visitor starting with a given node.

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Copyright © 2001-2008 Apache Cayenne. All Rights Reserved.