public class WalkerFactory
extends java.lang.Object
Modifier and Type | Method and Description |
---|---|
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.
|
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 withBioException
- if the walker could not be built