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.crosswire.jsword.passage
Interface KeyVisitor

All Known Implementing Classes:
  AbstractKeyList.NameVisitor, AbstractKeyList.OsisIDVisitor, AbstractKeyList.OsisRefVisitor, DefaultKeyVisitor

    public interface KeyVisitor

An interface for components wanting to visit all the nodes in a Key tree.

Author:
  DM Smith
See Also:
  `The GNU Lesser General Public License for details.`

Method Summary
`void` | `visitBranch(Key key)` We've found a branch node in a Key tree, and are giving the visitor a chance to do processing based on it.
`void` | `visitLeaf(Key key)` We've found a leaf node in a Key tree, and are giving the visitor a chance to do processing based on it.

Method Detail

### visitLeaf

    void visitLeaf(Key key)

  We've found a leaf node in a Key tree, and are giving the visitor a chance to do processing based on it.

  Parameters:
    `key` - The found leaf node.

### visitBranch

    void visitBranch(Key key)

  We've found a branch node in a Key tree, and are giving the visitor a chance to do processing based on it.

  Parameters:
    `key` - The found branch node.

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