Package se.lnu.siq.s4rdm3x.experiments
Class ExperimentXMLPersistence
java.lang.Object
se.lnu.siq.s4rdm3x.experiments.ExperimentXMLPersistence
public class ExperimentXMLPersistence
extends java.lang.Object
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interface
ExperimentXMLPersistence.ListenerB
-
Constructor Summary
Constructors Constructor Description ExperimentXMLPersistence()
-
Method Summary
Modifier and Type Method Description float[]
elementToVec4(org.w3c.dom.Element a_parent, java.lang.String a_tagName)
java.util.ArrayList<ExperimentRunner>
loadExperimentRunners(java.lang.String a_fileName, ExperimentXMLPersistence.ListenerB a_callback)
void
saveExperiments(java.lang.Iterable<ExperimentRunner> a_runners, java.lang.String a_fileName, ExperimentXMLPersistence.ListenerB a_listener)
org.w3c.dom.Node
vec4ToElement(org.w3c.dom.Document a_doc, float[] a_vec4, java.lang.String a_elementName)
-
Constructor Details
-
ExperimentXMLPersistence
public ExperimentXMLPersistence()
-
-
Method Details
-
vec4ToElement
public org.w3c.dom.Node vec4ToElement(org.w3c.dom.Document a_doc, float[] a_vec4, java.lang.String a_elementName) -
elementToVec4
public float[] elementToVec4(org.w3c.dom.Element a_parent, java.lang.String a_tagName) -
loadExperimentRunners
public java.util.ArrayList<ExperimentRunner> loadExperimentRunners(java.lang.String a_fileName, ExperimentXMLPersistence.ListenerB a_callback) throws java.lang.Exception- Throws:
java.lang.Exception
-
saveExperiments
public void saveExperiments(java.lang.Iterable<ExperimentRunner> a_runners, java.lang.String a_fileName, ExperimentXMLPersistence.ListenerB a_listener) throws java.lang.Exception- Throws:
java.lang.Exception
-