fr.reseaumexico.model.parser
Class InputDesignParser
java.lang.Object
java.io.Reader
java.io.InputStreamReader
java.io.FileReader
fr.reseaumexico.model.parser.XmlParser<M>
fr.reseaumexico.model.parser.MexicoXmlParser<InputDesign>
fr.reseaumexico.model.parser.InputDesignParser
- All Implemented Interfaces:
- Closeable, Readable
public class InputDesignParser
- extends MexicoXmlParser<InputDesign>
Parser for input design xml files, build a InputDesign model
- Since:
- 0.1
- Author:
- sletellier
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
experimentDesignParser
protected ExperimentDesignParser experimentDesignParser
InputDesignParser
public InputDesignParser(File file)
throws FileNotFoundException
- Throws:
FileNotFoundException
parseModel
protected InputDesign parseModel(org.xmlpull.v1.XmlPullParser parser)
throws IOException,
org.xmlpull.v1.XmlPullParserException,
ParseException
- Specified by:
parseModel in class XmlParser<InputDesign>
- Throws:
IOException
org.xmlpull.v1.XmlPullParserException
ParseException
parseInputDesignMeta
protected void parseInputDesignMeta(org.xmlpull.v1.XmlPullParser parser,
InputDesign model)
throws IOException,
org.xmlpull.v1.XmlPullParserException,
ParseException
- Throws:
IOException
org.xmlpull.v1.XmlPullParserException
ParseException
parseScenarios
protected void parseScenarios(org.xmlpull.v1.XmlPullParser parser,
InputDesign model)
throws IOException,
org.xmlpull.v1.XmlPullParserException
- Throws:
IOException
org.xmlpull.v1.XmlPullParserException
parseScenario
protected Scenario parseScenario(org.xmlpull.v1.XmlPullParser parser)
throws IOException,
org.xmlpull.v1.XmlPullParserException
- Throws:
IOException
org.xmlpull.v1.XmlPullParserException
Copyright © 2011-2012 Code Lutin. All Rights Reserved.