public class HttpEntityParser
extends java.lang.Object
implements org.ai_heuristic.def.ParserDef
Constructor and Description |
---|
HttpEntityParser() |
Modifier and Type | Method and Description |
---|---|
java.lang.Object |
parse(org.licas_xml.abs.Element toParse)
Parse the XML element back into the appropriate Object.
|
org.licas_xml.abs.Element |
serialize(java.lang.Object toSerialize)
Serialize the object into an XML element.
|
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 address info object to serialize.java.lang.Exception
- any error.public java.lang.Object parse(org.licas_xml.abs.Element toParse) throws java.lang.Exception
parse
in interface org.ai_heuristic.def.ParserDef
toParse
- the element to parse.java.lang.Exception
- any error.