|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.biojava.utils.walker.WalkerFactory
public class WalkerFactory
Method Summary | |
---|---|
void |
addTypeWithParent(java.lang.Class type)
Register a type as being a 'container' class. |
static WalkerFactory |
getInstance()
|
static WalkerFactory |
getInstance(java.lang.Class typeClazz)
Make a WalkerFactory that handles a Visitor for a class of type typeClazz. |
java.lang.Class |
getTypeClass()
|
Walker |
getWalker(Visitor visitor)
Get a Walker that is customosed to a particular visitor. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static WalkerFactory getInstance(java.lang.Class typeClazz)
typeClazz
- the Class this factory will walk overpublic static WalkerFactory getInstance()
public java.lang.Class getTypeClass()
public void addTypeWithParent(java.lang.Class type)
type
- the Class of the type with childrenpublic Walker getWalker(Visitor visitor) throws BioException
visitor
- the Visitor this walker will scan with
BioException
- if the walker could not be built
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |