fr.reseaumexico.model.parser
Class MexicoXmlParser<M>

java.lang.Object
  extended by java.io.Reader
      extended by java.io.InputStreamReader
          extended by java.io.FileReader
              extended by fr.reseaumexico.model.parser.XmlParser<M>
                  extended by fr.reseaumexico.model.parser.MexicoXmlParser<M>
All Implemented Interfaces:
Closeable, Readable
Direct Known Subclasses:
ExperimentDesignParser, InputDesignParser

public abstract class MexicoXmlParser<M>
extends XmlParser<M>

Abstract parser to get model from xml file using XPP3 for mexico

Since:
0.1
Author:
sletellier

Field Summary
 
Fields inherited from class java.io.Reader
lock
 
Constructor Summary
MexicoXmlParser(File file)
           
 
Method Summary
 Object getTypedValue(ValueType type, String value)
           
 Date parseDate(String toParse)
           
 
Methods inherited from class fr.reseaumexico.model.parser.XmlParser
getModel, parseModel, parserEqual
 
Methods inherited from class java.io.InputStreamReader
close, getEncoding, read, read, ready
 
Methods inherited from class java.io.Reader
mark, markSupported, read, read, reset, skip
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MexicoXmlParser

public MexicoXmlParser(File file)
                throws FileNotFoundException
Throws:
FileNotFoundException
Method Detail

parseDate

public Date parseDate(String toParse)
               throws ParseException
Throws:
ParseException

getTypedValue

public Object getTypedValue(ValueType type,
                            String value)


Copyright © 2011-2012 Code Lutin. All Rights Reserved.