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

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

protected class DigesterRuleParser.NodeCreateRuleFactory
extends AbstractObjectCreationFactory

Factory for creating a NodeCreateRule


Field Summary
 
Fields inherited from class org.apache.commons.digester.AbstractObjectCreationFactory
digester
 
Constructor Summary
protected DigesterRuleParser.NodeCreateRuleFactory()
           
 
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.NodeCreateRuleFactory

protected DigesterRuleParser.NodeCreateRuleFactory()
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.