Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## org.apache.commons.digester3.annotations.rules
Class FactoryCreate.DefaultObjectCreationFactory

    java.lang.Object
      org.apache.commons.digester3.AbstractObjectCreationFactory<Object>
          org.apache.commons.digester3.annotations.rules.FactoryCreate.DefaultObjectCreationFactory

All Implemented Interfaces:
  ObjectCreationFactory<Object>

Enclosing class:
  FactoryCreate

    public static final class FactoryCreate.DefaultObjectCreationFactory

extends AbstractObjectCreationFactory<Object>

Dummy ObjectCreationFactory type - only for annotation value type purposes.

Constructor Summary
`FactoryCreate.DefaultObjectCreationFactory()`

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.digester3.AbstractObjectCreationFactory
`getDigester, setDigester`

Methods inherited from class java.lang.Object
`clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

Constructor Detail

### FactoryCreate.DefaultObjectCreationFactory

    public FactoryCreate.DefaultObjectCreationFactory()

Method Detail

### createObject

    public Object createObject(Attributes attributes)
                        throws Exception

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

  Specified by:
    `createObject` in interface `ObjectCreationFactory<Object>`
  Specified by:
    `createObject` in class `AbstractObjectCreationFactory<Object>`
  Parameters:
    `attributes` - the element's attributes
  Returns:
    creates a new T instance
  Throws:
    `Exception` - any exception thrown will be propagated upwards

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

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