public class SomProblemScriptParser extends ProblemScriptParser
SomProblemScript,
to or from XML. It should be called indirectly through the ProblemScriptParser class.passwordHandler| Constructor and Description |
|---|
SomProblemScriptParser(org.licas.PasswordHandler thePasswordHandler)
Create a new instance of SomProblemScriptParser.
|
| Modifier and Type | Method and Description |
|---|---|
SomProblemScript |
parse(org.licas_xml.abs.Element scriptXml)
Parse the file path to create a test script for creating the test scenario from.
|
org.licas_xml.abs.Element |
serialize(ProblemScript testScript,
boolean forDisplay)
Serialize the test script into XML.
|
parseFilepublic SomProblemScriptParser(org.licas.PasswordHandler thePasswordHandler)
thePasswordHandler - for storing passwords.public org.licas_xml.abs.Element serialize(ProblemScript testScript, boolean forDisplay) throws java.lang.Exception
serialize in class ProblemScriptParsertestScript - the test script to serialize. Of type SomProblemScript.forDisplay - if true, create output for display purposes only.java.lang.Exception - any error.public SomProblemScript parse(org.licas_xml.abs.Element scriptXml) throws java.lang.Exception
parse in class ProblemScriptParserscriptXml - the script document in XML format.java.lang.Exception - any error.