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