public class MetricValueParser
extends java.lang.Object
implements org.ai_heuristic.def.ParserDef
MetricValue object to or from XML.
If a parser exists, the stored value can be parsed using it.| Constructor and Description |
|---|
MetricValueParser()
Create a new instance of MetricValueParser
|
| Modifier and Type | Method and Description |
|---|---|
org.ai_heuristic.eval.metric.MetricValue |
parse(org.licas_xml.abs.Element toParse)
Parse the XML element back into a MetricValue object.
|
org.licas_xml.abs.Element |
serialize(java.lang.Object toSerialize)
Serialize the object into an XML element.
|
public MetricValueParser()
public org.licas_xml.abs.Element serialize(java.lang.Object toSerialize)
throws java.lang.Exception
serialize in interface org.ai_heuristic.def.ParserDeftoSerialize - the object to serialize. Of type MetricValue.java.lang.Exception - any error.public org.ai_heuristic.eval.metric.MetricValue parse(org.licas_xml.abs.Element toParse)
throws java.lang.Exception
parse in interface org.ai_heuristic.def.ParserDeftoParse - the element to parse.java.lang.Exception - any error.