@ALDDataIOProvider public class ALDCollectionDataIOXmlbeans extends ALDStandardizedDataIOXmlbeans
ALDStandardizedDataIOCmdline it
implements the Alida syntax conventions.| Modifier and Type | Field and Description |
|---|---|
private boolean |
debug
output debugging info?
|
| Constructor and Description |
|---|
ALDCollectionDataIOXmlbeans() |
| 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 a collection instantiated from
aldXmlObject. |
de.unihalle.informatik.Alida_xml.ALDXMLObjectType |
writeData(Object obj)
Returns the string representations of collection.
|
readData, readData, readDatapublic Collection<Class<?>> providedClasses()
ALDDataIOpublic Object readData(Field field, Class<?> cl, de.unihalle.informatik.Alida_xml.ALDXMLObjectType aldXmlObject, Object obj) throws ALDDataIOProviderException, ALDDataIOManagerException
aldXmlObject.
The class of the elements of the collection is determined
using ALDCollectionDataIOHelper.lookupType(java.lang.reflect.Field).readData in class ALDStandardizedDataIOXmlbeansfield - 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.ALDDataIOProviderExceptionALDDataIOManagerExceptionALDDataIOManagerXmlbeanspublic de.unihalle.informatik.Alida_xml.ALDXMLObjectType writeData(Object obj) throws ALDDataIOManagerException, ALDDataIOProviderException
obj - object to formatALDDataIOManagerExceptionALDDataIOProviderExceptionALDCollectionDataIOXmlbeans#parse(Field,Class,String)Copyright © 2010–2021 Martin Luther University Halle-Wittenberg, Institute of Computer Science, Pattern Recognition and Bioinformatics. All rights reserved.