org.apache.commons.digester.xmlrules
Class DigesterRuleParser.ObjectParamRuleFactory

java.lang.Object
  extended by org.apache.commons.digester.AbstractObjectCreationFactory
      extended by org.apache.commons.digester.xmlrules.DigesterRuleParser.ObjectParamRuleFactory
All Implemented Interfaces:
ObjectCreationFactory
Enclosing class:
DigesterRuleParser

protected class DigesterRuleParser.ObjectParamRuleFactory
extends AbstractObjectCreationFactory

Factory for creating a ObjectParamRule


Field Summary
 
Fields inherited from class org.apache.commons.digester.AbstractObjectCreationFactory
digester
 
Constructor Summary
protected DigesterRuleParser.ObjectParamRuleFactory()
           
 
Method Summary
 Object createObject(Attributes attributes)
          Factory method called by FactoryCreateRule to supply an object based on the element's attributes.
 
Methods inherited from class org.apache.commons.digester.AbstractObjectCreationFactory
getDigester, setDigester
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DigesterRuleParser.ObjectParamRuleFactory

protected DigesterRuleParser.ObjectParamRuleFactory()
Method Detail

createObject

public Object createObject(Attributes attributes)
                    throws Exception
Description copied from class: AbstractObjectCreationFactory

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

Specified by:
createObject in interface ObjectCreationFactory
Specified by:
createObject in class AbstractObjectCreationFactory
Parameters:
attributes - the element's attributes
Throws:
Exception - any exception thrown will be propagated upwards


Copyright © 2001-2009 The Apache Software Foundation. All Rights Reserved.