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

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `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.