@ALDDataIOProvider public class ALDEnumSetDataIOXmlbeans extends ALDStandardizedDataIOXmlbeans
Modifier and Type | Field and Description |
---|---|
private boolean |
debug
output debugging info?
|
Constructor and Description |
---|
ALDEnumSetDataIOXmlbeans() |
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 EnumSet instantiated from
aldXmlObject . |
de.unihalle.informatik.Alida_xml.ALDXMLObjectType |
writeData(Object obj)
Returns the string representations of collection.
|
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
aldXmlObject
.readData
in class ALDStandardizedDataIOXmlbeans
field
- Field of object to be returnedcl
- Class of object to be returned.obj
- this object is used to read the data into (must be of correct type)aldXmlObject
- Source from where to read data.ALDDataIOProviderException
ALDDataIOManagerException
ALDDataIOManagerXmlbeans
public de.unihalle.informatik.Alida_xml.ALDXMLObjectType writeData(Object obj) throws ALDDataIOManagerException, ALDDataIOProviderException
obj
- object to formatALDDataIOManagerException
ALDDataIOProviderException
ALDEnumSetDataIOXmlbeans#parse(Field,Class,String)
Copyright © 2010–2021 Martin Luther University Halle-Wittenberg, Institute of Computer Science, Pattern Recognition and Bioinformatics. All rights reserved.