org.apache.tomcat.util.digester
public abstract class AbstractObjectCreationFactory extends Object implements ObjectCreationFactory
Abstract base class for ObjectCreationFactory
implementations.
Field Summary | |
---|---|
protected Digester | digester
The associated Digester instance that was set up by
FactoryCreateRule upon initialization. |
Method Summary | |
---|---|
abstract Object | createObject(Attributes attributes) Factory method called by FactoryCreateRule to supply an object based on the element's attributes. |
Digester | getDigester() Returns the Digester that was set by the FactoryCreateRule upon initialization. |
void | setDigester(Digester digester) Set the Digester to allow the implementation to do logging, classloading based on the digester's classloader, etc. |
Digester
instance that was set up by
FactoryCreateRule upon initialization.Factory method called by FactoryCreateRule to supply an object based on the element's attributes.
Parameters: attributes the element's attributes
Throws: Exception any exception thrown will be propagated upwards
Returns the Digester that was set by the FactoryCreateRule upon initialization.
Set the Digester to allow the implementation to do logging, classloading based on the digester's classloader, etc.
Parameters: digester parent Digester object