@ALDDataIOProvider(priority=2) public class ALDWorkflowDataIOXmlbeans extends ALDStandardizedDataIOXmlbeans
Ensure higher priority then provider ALDParametrizedClassDataIOXmlbeans
for ALDOperator.
| Constructor and Description |
|---|
ALDWorkflowDataIOXmlbeans() |
| Modifier and Type | Method and Description |
|---|---|
Collection<Class<?>> |
providedClasses()
Interface method to announce class for which IO is provided for
|
Object |
readData(Field field,
Class<?> cl,
de.unihalle.informatik.Alida_xml.ALDXMLObjectType aldXmlObject,
Object obj)
Returns an object instantiated from
xmlObject. |
de.unihalle.informatik.Alida_xml.ALDXMLObjectType |
writeData(Object obj)
Interface for writing the object data to the target location.
|
readDatapublic Collection<Class<?>> providedClasses()
public Object readData(Field field, Class<?> cl, de.unihalle.informatik.Alida_xml.ALDXMLObjectType aldXmlObject, Object obj) throws ALDDataIOProviderException, ALDDataIOManagerException
ALDStandardizedDataIOXmlbeansxmlObject.
For the class of the object to be read see ALDDataIOManagerXmlbeans.readData(Field,Class,ALDXMLObjectType).
This method is assumed to directly parse the xmlObject and make no
prior interpretation regarding a file to use or derived class to return.readData in class ALDStandardizedDataIOXmlbeansfield - Field of object to be returnedcl - Class of object to be returned.aldXmlObject - Source from where to read data.obj - Object instantiated from xmlObject with the default constructorxmlObjectALDDataIOProviderExceptionALDDataIOManagerExceptionALDDataIOManagerXmlbeanspublic de.unihalle.informatik.Alida_xml.ALDXMLObjectType writeData(Object obj) throws ALDDataIOProviderException, ALDDataIOManagerException
ALDDataIOXmlbeansALDDataIOManagerXmlbeans
where the method is documented in more detail.obj - Object to be saved.ALDDataIOProviderExceptionALDDataIOManagerExceptionCopyright © 2010–2015 Martin Luther University Halle-Wittenberg. All rights reserved.