|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.geotools.validation.xml.XMLReader
Load validation configuration from XML.
Method Summary | |
static java.util.Map |
loadPlugIns(java.io.File plugInDir)
loadPlugIns purpose. |
static java.util.Map |
loadValidations(java.io.File validationDir,
java.util.Map plugInDTOs)
Loads all the test suites in the validations directory |
static PlugInDTO |
readPlugIn(java.io.Reader inputSource)
readPlugIn purpose. |
static TestSuiteDTO |
readTestSuite(java.lang.String name,
java.io.Reader inputSource,
java.util.Map plugIns)
readTestSuiteDTO purpose. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
public static PlugInDTO readPlugIn(java.io.Reader inputSource) throws ValidationException
This method is intended to read an XML PlugIn (pluginSchema.xsd) into a PlugInDTO object.
inputSource
- A reader which contains a copy of a valid PlugIn
desciption.
ValidationException
- DOCUMENT ME!public static TestSuiteDTO readTestSuite(java.lang.String name, java.io.Reader inputSource, java.util.Map plugIns) throws ValidationException
This method is intended to read an XML Test (testSuiteSchema.xsd) into a TestSuiteDTO object.
inputSource
- A reader which contains a copy of a valid TestSuite
desciption.plugIns
- A name of plugin names to valid plugin DTOs
ValidationException
- DOCUMENT ME!public static java.util.Map loadPlugIns(java.io.File plugInDir) throws ValidationException
Loads all the plugins in the directory
plugInDir
-
ValidationException
- DOCUMENT ME!public static java.util.Map loadValidations(java.io.File validationDir, java.util.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 |