|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.crosswire.jsword.passage.KeyUtil
public final class KeyUtil
.
The GNU Lesser General Public License for details.| Constructor Summary | |
|---|---|
private |
KeyUtil()
Prevent instantiation |
| Method Summary | |
|---|---|
static Passage |
getPassage(Key key)
Cast a Key to a Passage. |
static Verse |
getVerse(Key key)
Cast a Key to a Verse. |
static Versification |
getVersification(Key key)
Get the versification for the key or the default versification. |
static void |
visit(Key key,
KeyVisitor visitor)
Walk through a tree visiting the nodes and branches in the tree |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
private KeyUtil()
| Method Detail |
|---|
public static void visit(Key key,
KeyVisitor visitor)
key - The node tree to walk throughvisitor - The visitor to notify whenever a node is foundpublic static Verse getVerse(Key key)
key - The key to cast
ClassCastExceptionpublic static Passage getPassage(Key key)
key - The key to cast
ClassCastExceptionpublic static Versification getVersification(Key key)
key - the key that should provide for the Versification
|
Copyright ยจ 2003-2015 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||