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:
  Joe Walker [joe at eireneh dot com]
See Also:
  `for license details. The copyright to this program is held by it's authors.`

Method Summary
`void` | `visitBranch(Key key)` We've found a branch node in a Key tree, and are giving the visitor a change 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 change 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 change 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 change to do processing based on it.

  Parameters:
    `key` - The found branch node.

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