|
||||||||||
| 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(Class type)
Register a type as being a 'container' class. |
static WalkerFactory |
getInstance()
|
static WalkerFactory |
getInstance(Class typeClazz)
Make a WalkerFactory that handles a Visitor for a class of type typeClazz. |
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(Class typeClazz)
typeClazz - the Class this factory will walk overpublic static WalkerFactory getInstance()
public Class getTypeClass()
public void addTypeWithParent(Class type)
type - the Class of the type with children
public 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 | |||||||||