de.unihalle.informatik.Alida.dataio.provider
Interface ALDDataIOXmlbeans

All Superinterfaces:
ALDDataIO
All Known Implementing Classes:
ALDCollectionDataIOXmlbeans, ALDEnumDataIOXmlbeans, ALDFileDirectoryDataIOXmlbeans, ALDNativeDataIOXmlbeans, ALDParametrizedClassDataIOXmlbeans, ALDStandardizedDataIOXmlbeans, ALDWorkflowDataIOXmlbeans

public interface ALDDataIOXmlbeans
extends ALDDataIO

This is the interface for Alida's dataIO provider from xml using xmlbeans. All classes providing dataIO for xml have to implement this interface and need to be annotated with ALDDataIOProvider.

Author:
posch

Method Summary
 Object readData(Field field, Class<?> cl, de.unihalle.informatik.Alida_xml.ALDXMLObjectType xmlObject)
          Interface for reading data from the given source.
 de.unihalle.informatik.Alida_xml.ALDXMLObjectType writeData(Object obj)
          Interface for writing the object data to the target location.
 
Methods inherited from interface de.unihalle.informatik.Alida.dataio.provider.ALDDataIO
providedClasses
 

Method Detail

readData

Object readData(Field field,
                Class<?> cl,
                de.unihalle.informatik.Alida_xml.ALDXMLObjectType xmlObject)
                throws ALDDataIOProviderException,
                       ALDDataIOManagerException
Interface for reading data from the given source. This interface work in conjunction with ALDDataIOManagerXmlbeans where the method is documented in more detail.

Parameters:
field - Field of object to be returned.
cl - Class of object to be returned.
xmlObject - Source from where to read data.
Returns:
Object read from source.
Throws:
ALDDataIOProviderException
ALDDataIOManagerException

writeData

de.unihalle.informatik.Alida_xml.ALDXMLObjectType writeData(Object obj)
                                                            throws ALDDataIOManagerException,
                                                                   ALDDataIOProviderException
Interface for writing the object data to the target location. This interface work in conjunction with ALDDataIOManagerXmlbeans where the method is documented in more detail.

Parameters:
obj - Object to be saved.
Returns:
obj as an ALDXMLObjectType
Throws:
ALDDataIOManagerException
ALDDataIOProviderException


Copyright © 2010–2014 Martin Luther University Halle-Wittenberg, Institute of Computer Science, Pattern Recognition and Bioinformatics. All rights reserved.