de.unihalle.informatik.Alida.dataio.provider.xmlbeans
Class ALDFileDirectoryDataIOXmlbeans

java.lang.Object
  extended by de.unihalle.informatik.Alida.dataio.provider.xmlbeans.ALDFileDirectoryDataIOXmlbeans
All Implemented Interfaces:
ALDDataIO, ALDDataIOXmlbeans

@ALDDataIOProvider
public class ALDFileDirectoryDataIOXmlbeans
extends java.lang.Object
implements ALDDataIOXmlbeans

DataIO provider for filenames and directory paths xml using xmlbeans.

Author:
moeller

Constructor Summary
ALDFileDirectoryDataIOXmlbeans()
           
 
Method Summary
 java.util.Collection<java.lang.Class<?>> providedClasses()
          Interface method to announce all classes handled by this provider.
 java.lang.Object readData(java.lang.reflect.Field field, java.lang.Class<?> cl, de.unihalle.informatik.Alida_xml.ALDXMLObjectType aldXmlObject)
          Interface for reading data from the given source.
 de.unihalle.informatik.Alida_xml.ALDXMLObjectType writeData(java.lang.Object obj)
          Interface for writing the object data to the target location.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ALDFileDirectoryDataIOXmlbeans

public ALDFileDirectoryDataIOXmlbeans()
Method Detail

providedClasses

public java.util.Collection<java.lang.Class<?>> providedClasses()
Description copied from interface: ALDDataIO
Interface method to announce all classes handled by this provider.

Specified by:
providedClasses in interface ALDDataIO
Returns:
Collection of classes provided

readData

public java.lang.Object readData(java.lang.reflect.Field field,
                                 java.lang.Class<?> cl,
                                 de.unihalle.informatik.Alida_xml.ALDXMLObjectType aldXmlObject)
                          throws ALDDataIOProviderException
Description copied from interface: ALDDataIOXmlbeans
Interface for reading data from the given source. This interface work in conjunction with ALDDataIOManagerXmlbeans where the method is documented in more detail.

Specified by:
readData in interface ALDDataIOXmlbeans
Parameters:
field - Field of object to be returned.
cl - Class of object to be returned.
aldXmlObject - Source from where to read data.
Returns:
Object read from source.
Throws:
ALDDataIOProviderException

writeData

public de.unihalle.informatik.Alida_xml.ALDXMLObjectType writeData(java.lang.Object obj)
Description copied from interface: ALDDataIOXmlbeans
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.

Specified by:
writeData in interface ALDDataIOXmlbeans
Parameters:
obj - Object to be saved.
Returns:
obj as an ALDXMLObjectType


Copyright © 2010-2014 Martin Luther University Halle-Wittenberg. All Rights Reserved.