public class WalkerFactory extends Object
Modifier and Type | Method and Description |
---|---|
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.
|
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 childrenpublic Walker getWalker(Visitor visitor) throws BioException
visitor
- the Visitor this walker will scan withBioException
- if the walker could not be builtCopyright © 2014 BioJava. All rights reserved.