public class ServiceMetaParser
extends java.lang.Object
implements org.ai_heuristic.def.ParserDef
ServiceMeta description.| Constructor and Description |
|---|
ServiceMetaParser()
Create a new instance of ServiceMetaParser.
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.Object |
parse(org.licas_xml.abs.Element toParse)
Parse the XML description back into the ServiceMeta object.
|
org.licas_xml.abs.Element |
serialize(java.lang.Object toSerialize)
Serialise the object of type ServiceMeta into XML.
|
org.licas_xml.abs.Element |
serialize(java.lang.Object toSerialize,
boolean permLinks)
Serialise the object of type ServiceMeta into XML.
|
public ServiceMetaParser()
public org.licas_xml.abs.Element serialize(java.lang.Object toSerialize)
throws java.lang.Exception
serialize in interface org.ai_heuristic.def.ParserDeftoSerialize - the service meta object of type ServiceMeta.java.lang.Exception - any error.public org.licas_xml.abs.Element serialize(java.lang.Object toSerialize,
boolean permLinks)
throws java.lang.Exception
toSerialize - the service meta object of type ServiceMeta.permLinks - if true serialize the permanent inks as well (link/association).
The dynamic links need to be serialized separately.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.ParserDeftoParse - the XML description to parse.java.lang.Exception - any error.