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