@ALDDataIOProvider(priority=2) public class ALDWorkflowDataIOXmlbeans extends ALDStandardizedDataIOXmlbeans
Ensure higher priority then provider ALDParametrizedClassDataIOXmlbeans
for ALDOperator.
Modifier and Type | Field and Description |
---|---|
private boolean |
debug
debug messages
|
Constructor and Description |
---|
ALDWorkflowDataIOXmlbeans() |
Modifier and Type | Method and Description |
---|---|
private de.unihalle.informatik.Alida_xml.ALDXMLWorkflowEdgeType |
createALDXMLWorkflowEgdeType(ALDWorkflowEdge edge,
HashMap<ALDWorkflowNode,Integer> nodeIdMap)
Crreate a xml object for a workflow edge
|
private de.unihalle.informatik.Alida_xml.ALDXMLWorkflowNodeType |
createALDXMLWorkflowNodeType(ALDWorkflowNode node)
Create a xml object for a workflow node
|
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
aldXmlObject . |
de.unihalle.informatik.Alida_xml.ALDXMLObjectType |
writeData(Object obj)
Interface for writing the object data to the target location.
|
readData, readData, readData
public Collection<Class<?>> providedClasses()
public Object readData(Field field, Class<?> cl, de.unihalle.informatik.Alida_xml.ALDXMLObjectType aldXmlObject, Object obj) throws ALDDataIOProviderException, ALDDataIOManagerException
ALDStandardizedDataIOXmlbeans
aldXmlObject
.
For the class of the object to be read see ALDDataIOManagerXmlbeans.readData(Field,Class,ALDXMLObjectType)
.
This method is assumed to directly parse the aldXmlObject
and make no
prior interpretation regarding a file to use or derived class to return.readData
in class ALDStandardizedDataIOXmlbeans
field
- Field of object to be returnedcl
- Class of object to be returned.aldXmlObject
- Source from where to read data.obj
- if non null the xml representation is to be parse in this instance. Otherwise a new instance is created.xmlObject
ALDDataIOProviderException
ALDDataIOManagerException
ALDDataIOManagerXmlbeans
public de.unihalle.informatik.Alida_xml.ALDXMLObjectType writeData(Object obj) throws ALDDataIOProviderException, ALDDataIOManagerException
ALDDataIOXmlbeans
ALDDataIOManagerXmlbeans
where the method is documented in more detail.obj
- Object to be saved.obj
ALDDataIOProviderException
ALDDataIOManagerException
private de.unihalle.informatik.Alida_xml.ALDXMLWorkflowNodeType createALDXMLWorkflowNodeType(ALDWorkflowNode node) throws ALDDataIOProviderException, ALDDataIOManagerException
node
- ALDDataIOProviderException
ALDDataIOManagerException
private de.unihalle.informatik.Alida_xml.ALDXMLWorkflowEdgeType createALDXMLWorkflowEgdeType(ALDWorkflowEdge edge, HashMap<ALDWorkflowNode,Integer> nodeIdMap)
edge
- nodeIdMap
- Copyright © 2010–2021 Martin Luther University Halle-Wittenberg, Institute of Computer Science, Pattern Recognition and Bioinformatics. All rights reserved.