public abstract class SolutionParser
extends java.lang.Object
Solution to or from XML.| Constructor and Description |
|---|
SolutionParser()
Create a new instance of SolutionParser
|
| Modifier and Type | Method and Description |
|---|---|
abstract Solution |
parse(org.licas_xml.abs.Element rootElem)
Parse the XML back into a solution object.
|
abstract org.licas_xml.abs.Element |
serialize(Solution solution)
Serialize a solution description into xml.
|
public abstract org.licas_xml.abs.Element serialize(Solution solution) throws java.lang.Exception
solution - the solution description.java.lang.Exception - any error.public abstract Solution parse(org.licas_xml.abs.Element rootElem) throws java.lang.Exception
rootElem - the root element of the xml description.java.lang.Exception - any error.