public class ComparisonQueryModelParser
extends java.lang.Object
implements org.ai_heuristic.def.ParserDef
DataQueryModel
object to or from XML.Constructor and Description |
---|
ComparisonQueryModelParser()
Create a new instance of DataInfoQuery.
|
Modifier and Type | Method and Description |
---|---|
java.lang.Object |
parse(org.licas_xml.abs.Element toParse)
Parse an XML description of a
ComparisonQueryModel object back into the Java object. |
void |
parseInfo(org.licas_xml.abs.Element toParse,
ComparisonQueryModel dataInfo)
Parse an XML description of a DataQuery object back into the Java object.
|
org.licas_xml.abs.Element |
serialize(java.lang.Object toSerialize)
Serialize a MethodInfo object to XML.
|
public ComparisonQueryModelParser()
public org.licas_xml.abs.Element serialize(java.lang.Object toSerialize) throws java.lang.Exception
serialize
in interface org.ai_heuristic.def.ParserDef
toSerialize
- the MethodInfo object to serialize.java.lang.Exception
- any error.public java.lang.Object parse(org.licas_xml.abs.Element toParse) throws java.lang.Exception
ComparisonQueryModel
object back into the Java object.parse
in interface org.ai_heuristic.def.ParserDef
toParse
- the XML description to parse.java.lang.Exception
- any error.public void parseInfo(org.licas_xml.abs.Element toParse, ComparisonQueryModel dataInfo) throws java.lang.Exception
toParse
- the XML description to parse.dataInfo
- the data info object to place the parsed content in.java.lang.Exception
- any error.