FileDocCategorySizeDatePackage
AbstractObjectCreationFactory.javaAPI DocApache Tomcat 6.0.142444Fri Jul 20 04:20:34 BST 2007org.apache.tomcat.util.digester

AbstractObjectCreationFactory

public abstract class AbstractObjectCreationFactory extends Object implements ObjectCreationFactory

Abstract base class for ObjectCreationFactory implementations.

Fields Summary
protected Digester
digester
The associated Digester instance that was set up by {@link FactoryCreateRule} upon initialization.
Constructors Summary
Methods Summary
public abstract java.lang.ObjectcreateObject(org.xml.sax.Attributes attributes)

Factory method called by {@link FactoryCreateRule} to supply an object based on the element's attributes.

param
attributes the element's attributes
throws
Exception any exception thrown will be propagated upwards

public DigestergetDigester()

Returns the {@link Digester} that was set by the {@link FactoryCreateRule} upon initialization.



    // --------------------------------------------------------- Public Methods


                                      
          


                      
       

        return (this.digester);

    
public voidsetDigester(Digester digester)

Set the {@link Digester} to allow the implementation to do logging, classloading based on the digester's classloader, etc.

param
digester parent Digester object


        this.digester = digester;