org.apache.commons.digester
Interface ObjectCreationFactory
- AbstractObjectCreationFactory, DigesterRuleParser.BeanPropertySetterRuleFactory, DigesterRuleParser.CallMethodRuleFactory, DigesterRuleParser.CallParamRuleFactory, DigesterRuleParser.FactoryCreateRuleFactory, DigesterRuleParser.NodeCreateRuleFactory, DigesterRuleParser.ObjectCreateRuleFactory, DigesterRuleParser.ObjectParamRuleFactory, DigesterRuleParser.SetNestedPropertiesRuleFactory, DigesterRuleParser.SetNextRuleFactory, DigesterRuleParser.SetPropertiesRuleFactory, DigesterRuleParser.SetPropertyRuleFactory, DigesterRuleParser.SetRootRuleFactory, DigesterRuleParser.SetTopRuleFactory
public interface ObjectCreationFactory
createObject
public 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 attributes
getDigester
public Digester getDigester()
setDigester
public void setDigester(Digester digester)
Set the
Digester
to allow the implementation to do logging,
classloading based on the digester's classloader, etc.
digester
- parent Digester object
Copyright 2001-2005 The Apache Software Foundation.