public class XMLReader extends Object
Modifier and Type | Method and Description |
---|---|
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.
|
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 DTOsValidationException
- 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!Copyright © 1996–2019 Geotools. All rights reserved.