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.project
Interface ProjectTraversalHandler

    public interface ProjectTraversalHandler

ProjectTraversalHandler defines callback methods that are invoked during project tree traversal.

Author:
  Andrus Adamchik

Method Summary
`void` | `projectNode(ProjectPath nodePath)` Invoked when a node is read during project tree traversal.
`boolean` | `shouldReadChildren(Object node, ProjectPath parentPath)` Invoked when the children of a project node are about to be scanned.

Method Detail

### projectNode

    void projectNode(ProjectPath nodePath)

  Invoked when a node is read during project tree traversal.

### shouldReadChildren

    boolean shouldReadChildren(Object node,
                               ProjectPath parentPath)

  Invoked when the children of a project node are about to be scanned. If handler returns false, children of the node (and trheir children) will be skipped. This allows handler to control traversal behavior by eliminating subtrees.

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.