net.sf.doolin.oxml.adapter
Class AbstractOXMLInstanceFactory<T>
java.lang.Object
net.sf.doolin.oxml.adapter.AbstractOXMLInstanceFactory<T>
- Type Parameters:
T - Type of the instance to create
- All Implemented Interfaces:
- OXMLInstanceFactory<T>
- Direct Known Subclasses:
- AbstractTextOXMLInstanceFactory
public abstract class AbstractOXMLInstanceFactory<T>
- extends Object
- implements OXMLInstanceFactory<T>
Creates an instance from the current node.
- Author:
- Damien Coraboeuf
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AbstractOXMLInstanceFactory
public AbstractOXMLInstanceFactory()
createInstance
protected abstract T createInstance(Element element,
OXMLContext context)
- Creates the instance from the current element
- Parameters:
element - Current elementcontext - Execution context
- Returns:
- Instance
createInstance
public T createInstance(OXMLContext context)
- Description copied from interface:
OXMLInstanceFactory
- Creates an object from the context
- Specified by:
createInstance in interface OXMLInstanceFactory<T>
- Parameters:
context - Execution context
- Returns:
- Created instance
Copyright © 2011. All Rights Reserved.