@ALDDataIOProvider
public class RandomGeneratorDataIOXmlbeans
extends de.unihalle.informatik.Alida.dataio.provider.xmlbeans.ALDStandardizedDataIOXmlbeans
java.util.Random
objects.
When a random generator is to be read , it is initialized with a seed as read from xml.
When a random generator has to be written, its seed is saved to the xml file as along. Note that the current state of the random generator is not represented, i.e. if a new random generator
is constructed from this string, it will share the same seed, but will have the initial state of the old random generator.
Constructor and Description |
---|
RandomGeneratorDataIOXmlbeans() |
Modifier and Type | Method and Description |
---|---|
Collection<Class<?>> |
providedClasses() |
Object |
readData(Field field,
Class<?> cl,
de.unihalle.informatik.Alida_xml.ALDXMLObjectType aldXmlObject,
Object obj) |
de.unihalle.informatik.Alida_xml.ALDXMLObjectType |
writeData(Object obj) |
public Collection<Class<?>> providedClasses()
public Object readData(Field field, Class<?> cl, de.unihalle.informatik.Alida_xml.ALDXMLObjectType aldXmlObject, Object obj) throws de.unihalle.informatik.Alida.exceptions.ALDDataIOProviderException, de.unihalle.informatik.Alida.exceptions.ALDDataIOManagerException
readData
in class de.unihalle.informatik.Alida.dataio.provider.xmlbeans.ALDStandardizedDataIOXmlbeans
de.unihalle.informatik.Alida.exceptions.ALDDataIOProviderException
de.unihalle.informatik.Alida.exceptions.ALDDataIOManagerException
public de.unihalle.informatik.Alida_xml.ALDXMLObjectType writeData(Object obj) throws de.unihalle.informatik.Alida.exceptions.ALDDataIOManagerException, de.unihalle.informatik.Alida.exceptions.ALDDataIOProviderException
de.unihalle.informatik.Alida.exceptions.ALDDataIOManagerException
de.unihalle.informatik.Alida.exceptions.ALDDataIOProviderException
Copyright © 2010–2020 Martin Luther University Halle-Wittenberg, Institute of Computer Science, Pattern Recognition and Bioinformatics. All rights reserved.