public class WebServiceMethodInfoParser
extends java.lang.Object
implements org.ai_heuristic.def.ParserDef
WsMethodInfo
object to or from XML.
This is an extension of the standard MethodInfo
object that is used instead,
for calling web services.Constructor and Description |
---|
WebServiceMethodInfoParser()
Create a new instance of WebServiceMethodInfoParser.
|
Modifier and Type | Method and Description |
---|---|
java.lang.Object |
parse(org.licas_xml.abs.Element toParse)
Parse an XML description of a WsMethodInfo object back into a Java object.
|
org.licas_xml.abs.Element |
serialize(java.lang.Object toSerialize)
Serialize a WsMethodInfo object to XML.
|
public WebServiceMethodInfoParser()
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
parse
in interface org.ai_heuristic.def.ParserDef
toParse
- the XML description to parse.java.lang.Exception
- any error.