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