Overview | Package | Class | 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:
  Andrei Adamchik

Method Summary
`void` | `projectNode(ProjectPath nodePath)` Invoked when a node is read during project tree traversal.
`boolean` | `shouldReadChildren(java.lang.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(java.lang.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 | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Copyright © 2001-2006 Apache.org All Rights Reserved.