fr.reseaumexico.model.writer
Class ExperimentDesignXmlWriter
java.lang.Object
java.io.Writer
java.io.OutputStreamWriter
java.io.FileWriter
fr.reseaumexico.model.writer.XmlWriter<M>
fr.reseaumexico.model.writer.MexicoXmlWriter<ExperimentDesign>
fr.reseaumexico.model.writer.ExperimentDesignXmlWriter
- All Implemented Interfaces:
- MexicoXmlConstant, Closeable, Flushable, Appendable
public class ExperimentDesignXmlWriter
- extends MexicoXmlWriter<ExperimentDesign>
Writer to create experiment design file with ExperimentDesign model
- Since:
- 0.1
- Author:
- sletellier
| Fields inherited from interface fr.reseaumexico.model.MexicoXmlConstant |
DISTRIBUTION_PARAMETER_NAME, DISTRIBUTION_PARAMETER_VALUE, DISTRIBUTION_PARAMETER_VALUE_TYPE, DOMAIN, DOMAIN_DISTRIBUTION_NAME, DOMAIN_DISTRIBUTION_PARAMETER, DOMAIN_LEVEL, DOMAIN_NAME, DOMAIN_NOMINAL_VALUE, DOMAIN_VALUE_TYPE, EXPERIMENT_DESIGN, EXPERIMENT_DESIGN_AUTHOR, EXPERIMENT_DESIGN_DATE, EXPERIMENT_DESIGN_DESCRIPTION, EXPERIMENT_DESIGN_ID, EXPERIMENT_DESIGN_LICENCE, FACTOR, FACTOR_DESCRIPTION, FACTOR_ID, FACTOR_NAME, FACTOR_UNIT, FACTORS, FEATURE, FEATURE_NAME, FEATURE_VALUE, FEATURE_VALUE_TYPE, INPUT_DESIGN, INPUT_DESIGN_DATE, LEVEL_VALUE, LEVEL_WEIGHT, SCENARIO, SCENARIO_FACTOR_VALUES, SCENARIO_NAME, SCENARIO_ORDER_NUMBER |
| Methods inherited from class fr.reseaumexico.model.writer.XmlWriter |
write |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ExperimentDesignXmlWriter
public ExperimentDesignXmlWriter(File file,
ExperimentDesign model)
throws IOException
- Throws:
IOException
getRootElement
public XmlNode getRootElement()
- Specified by:
getRootElement in class XmlWriter<ExperimentDesign>
composeExperimentDesignMeta
protected void composeExperimentDesignMeta(XmlNode rootXmlNode)
composeFactors
protected void composeFactors(XmlNode rootXmlNode)
Copyright © 2011-2012 Code Lutin. All Rights Reserved.