|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
ObjectXMLReader
public class XMLReader
Load validation configuration from XML.
modules/extension/validation (gt-validation.jar)
Method Summary | |
---|---|
static Map |
loadPlugIns(File plugInDir)
loadPlugIns purpose. |
static Map |
loadValidations(File validationDir,
Map plugInDTOs)
Loads all the test suites in the validations directory |
static PlugInDTO |
readPlugIn(Reader inputSource)
readPlugIn purpose. |
static TestSuiteDTO |
readTestSuite(String name,
Reader inputSource,
Map plugIns)
readTestSuiteDTO purpose. |
Methods inherited from class Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static PlugInDTO readPlugIn(Reader inputSource) throws ValidationException
This method is intended to read an XML PlugIn (pluginSchema.xsd) into a PlugInDTO object.
inputSource
- A features which contains a copy of a valid PlugIn
desciption.
ValidationException
- DOCUMENT ME!public static TestSuiteDTO readTestSuite(String name, Reader inputSource, Map plugIns) throws ValidationException
This method is intended to read an XML Test (testSuiteSchema.xsd) into a TestSuiteDTO object.
inputSource
- A features which contains a copy of a valid TestSuite
desciption.plugIns
- A name of plugin names to valid plugin DTOs
ValidationException
- DOCUMENT ME!public static Map loadPlugIns(File plugInDir) throws ValidationException
Loads all the plugins in the directory
plugInDir
-
ValidationException
- DOCUMENT ME!public static Map loadValidations(File validationDir, Map plugInDTOs) throws ValidationException
validationDir
- plugInDTOs
- Already loaded list of plug-ins to link.
ValidationException
- DOCUMENT ME!
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |