@ALDDataIOProvider public class ALDEnumDataIOXmlbeans extends ALDStandardizedDataIOXmlbeans
ALDStandardizedDataIOXmlbeans
it
implements the Alida syntax conventions.Constructor and Description |
---|
ALDEnumDataIOXmlbeans() |
Modifier and Type | Method and Description |
---|---|
Collection<Class<?>> |
providedClasses()
Interface method to announce all classes handled by this provider.
|
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()
ALDDataIO
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)
ALDDataIOXmlbeans
ALDDataIOManagerXmlbeans
where the method is documented in more detail.obj
- Object to be saved.obj
Copyright © 2010–2021 Martin Luther University Halle-Wittenberg, Institute of Computer Science, Pattern Recognition and Bioinformatics. All rights reserved.