|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjsystem.framework.sut.DefaultSut
Constructor Summary | |
DefaultSut()
|
Method Summary | |
List |
getAllValues(String path)
Get a list of all the values found. |
byte[] |
getSutXml()
return the sut xml. |
String |
getValue(String path)
Get a value from the XML file. |
void |
setSutXml(byte[] sutXml)
Set the SUT file |
void |
setSutXml(File sutXml)
Set the SUT file. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public DefaultSut()
Method Detail |
public void setSutXml(File sutXml) throws FileNotFoundException, ParseException
Sut
setSutXml
in interface Sut
sutXml
- The SUT file.
FileNotFoundException
ParseException
public void setSutXml(byte[] sutXml) throws ParseException
Sut
setSutXml
in interface Sut
sutXml
- The SUT file as a byte array.
ParseException
public byte[] getSutXml()
Sut
getSutXml
in interface Sut
public String getValue(String path) throws Exception
Sut
getValue
in interface Sut
path
- XPath to the requested value.
Exception
public List getAllValues(String path) throws Exception
Sut
getAllValues
in interface Sut
path
- XPath to the values.
Exception
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |