Interface ObjectCreationFactory
- All Known Implementing Classes:
- AbstractObjectCreationFactory
public interface ObjectCreationFactory
 Interface for use with FactoryCreateRule. The rule calls createObject(org.xml.sax.Attributes) to create an object to be
 pushed onto the Digester stack whenever it is matched.
 
 AbstractObjectCreationFactory is an abstract implementation suitable for creating anonymous
 ObjectCreationFactory implementations.
- 
Method SummaryModifier and TypeMethodDescriptioncreateObject(Attributes attributes) Factory method called byFactoryCreateRuleto supply an object based on the element's attributes.voidsetDigester(Digester digester) Set theDigesterto allow the implementation to do logging, classloading based on the digester's classloader, etc.
- 
Method Details- 
createObjectFactory method called byFactoryCreateRuleto supply an object based on the element's attributes.- Parameters:
- attributes- the element's attributes
- Returns:
- the created object
- Throws:
- Exception- any exception thrown will be propagated upwards
 
- 
getDigesterDigester getDigester()- Returns:
- the Digesterthat was set by theFactoryCreateRuleupon initialization.
 
- 
setDigester
 
-