|
||||||||||
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
.
for license details.
The copyright to this program is held by it's authors.
Constructor Summary | |
---|---|
private |
KeyUtil()
Prevent instantiation |
Method Summary | |
---|---|
static Passage |
getPassage(Key key)
Cast a Key to a Passage. |
static Passage |
getPassage(Versification v11n,
Key key)
Deprecated. getPassage(Key) |
static Verse |
getVerse(Key key)
Cast a Key to a Verse. |
static Verse |
getVerse(Versification v11n,
Key key)
Deprecated. use getVerse(Key) |
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
ClassCastException
public static Passage getPassage(Key key)
key
- The key to cast
ClassCastException
public static Versification getVersification(Key key)
key
- the key that should provide for the Versification
@Deprecated public static Verse getVerse(Versification v11n, Key key)
getVerse(Key)
@Deprecated public static Passage getPassage(Versification v11n, Key key)
getPassage(Key)
v11n
- key
- The key to cast
|
Copyright ? 2003-2011 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |