public abstract class ALDStandardizedDataIOXmlbeans extends Object implements ALDDataIOXmlbeans
These conventions are detailed in the documentation if the methods readData and writeData in this class below.
They handle IO from/to file and reading derived classes of the class handled by an dataIO provider.
Classes extending this class are expected to override the methods eadData
which do the actual reading
subsequent to generic handling of Alida convention with respect to derived classes
and IO form/to file.
| Constructor and Description |
|---|
ALDStandardizedDataIOXmlbeans() |
| Modifier and Type | Method and Description |
|---|---|
Object |
readData(Field field,
Class<?> cl,
de.unihalle.informatik.Alida_xml.ALDXMLObjectType xmlObject)
Read an object using
valueString. |
abstract Object |
readData(Field field,
Class<?> cl,
de.unihalle.informatik.Alida_xml.ALDXMLObjectType xmlObject,
Object object)
Returns an object instantiated from
xmlObject. |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitwriteDataprovidedClassespublic abstract Object readData(Field field, Class<?> cl, de.unihalle.informatik.Alida_xml.ALDXMLObjectType xmlObject, Object object) throws ALDDataIOProviderException, ALDDataIOManagerException
xmlObject.
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.field - Field of object to be returnedcl - Class of object to be returned.xmlObject - Source from where to read data.object - Object instantiated from xmlObject with the default constructorxmlObjectALDDataIOProviderExceptionALDDataIOManagerExceptionALDDataIOManagerXmlbeanspublic Object readData(Field field, Class<?> cl, de.unihalle.informatik.Alida_xml.ALDXMLObjectType xmlObject) throws ALDDataIOProviderException, ALDDataIOManagerException
valueString.
For the class of the object to be read see ALDDataIOXmlbeans.
readData in interface ALDDataIOXmlbeansfield - Field of object to be returned.cl - Class of object to be returned.valueString - Source from where to read data (e.g. a filename).ALDDataIOProviderExceptionALDDataIOManagerExceptionCopyright © 2010–2015 Martin Luther University Halle-Wittenberg. All rights reserved.