|
||||||||||
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.
Field Summary | |
---|---|
private static KeyFactory |
keyf
How we create Passages |
private static Logger |
log
The log stream |
Constructor Summary | |
---|---|
private |
KeyUtil()
Prevent instansiation |
Method Summary | |
---|---|
static Passage |
getPassage(Key key)
Not all keys represent passages, but we ought to be able to get something close to a passage from anything that does passage like work. |
static Verse |
getVerse(Key key)
Not all keys represent verses, but we ought to be able to get something close to a verse from anything that does verse like work. |
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 |
Field Detail |
---|
private static KeyFactory keyf
private static final Logger log
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)
public static Passage getPassage(Key key)
|
Copyright ? 2003-2006 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |