Constructor and Description |
---|
ConditionParser()
Create a new instance of ConditionParser
|
Modifier and Type | Method and Description |
---|---|
Condition |
parse(org.licas_xml.abs.Element toParse)
Parse the XML element back into the appropriate Object.
|
org.licas_xml.abs.Element |
serialize(Condition condition)
Serialize the object into an XML element.
|
org.licas_xml.abs.Element |
serialize(java.lang.Object toSerialize)
Serialize the object into an XML element.
|
public ConditionParser()
public org.licas_xml.abs.Element serialize(java.lang.Object toSerialize) throws java.lang.Exception
public org.licas_xml.abs.Element serialize(Condition condition) throws java.lang.Exception
condition
- the condition to serialize.java.lang.Exception
- any error.public Condition parse(org.licas_xml.abs.Element toParse) throws java.lang.Exception