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.
| Modifier and Type | Method and Description | 
|---|---|
| Object | createObject(Attributes attributes)Factory method called by  FactoryCreateRuleto supply an
 object based on the element's attributes. | 
| Digester | getDigester()Returns the  Digesterthat was set by theFactoryCreateRuleupon initialization. | 
| void | setDigester(Digester digester)Set the  Digesterto allow the implementation to do logging,
 classloading based on the digester's classloader, etc. | 
Object createObject(Attributes attributes) throws Exception
Factory method called by FactoryCreateRule to supply an
 object based on the element's attributes.
attributes - the element's attributesException - any exception thrown will be propagated upwardsDigester getDigester()
Returns the Digester that was set by the
 FactoryCreateRule upon initialization.
Copyright © 2000-2020 Apache Software Foundation. All Rights Reserved.