| 
 | Apache Tomcat 6.0.53 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.apache.tomcat.util.digester.AbstractObjectCreationFactory
public abstract class AbstractObjectCreationFactory
Abstract base class for ObjectCreationFactory
 implementations.
| Field Summary | |
|---|---|
| protected  Digester | digesterThe associated Digesterinstance that was set up byFactoryCreateRuleupon initialization. | 
| Constructor Summary | |
|---|---|
| AbstractObjectCreationFactory() | |
| Method Summary | |
|---|---|
| abstract  java.lang.Object | createObject(org.xml.sax.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. | 
| Methods inherited from class java.lang.Object | 
|---|
| clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
| Field Detail | 
|---|
protected Digester digester
Digester instance that was set up by
 FactoryCreateRule upon initialization.
| Constructor Detail | 
|---|
public AbstractObjectCreationFactory()
| Method Detail | 
|---|
public abstract java.lang.Object createObject(org.xml.sax.Attributes attributes)
                                       throws java.lang.Exception
Factory method called by FactoryCreateRule to supply an
 object based on the element's attributes.
createObject in interface ObjectCreationFactoryattributes - the element's attributes
java.lang.Exception - any exception thrown will be propagated upwardspublic Digester getDigester()
Returns the Digester that was set by the
 FactoryCreateRule upon initialization.
getDigester in interface ObjectCreationFactorypublic void setDigester(Digester digester)
Set the Digester to allow the implementation to do logging,
 classloading based on the digester's classloader, etc.
setDigester in interface ObjectCreationFactorydigester - parent Digester object| 
 | Apache Tomcat 6.0.53 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||