public abstract class AbstractXmlValidatorTest extends AbstractXmlValidator
EOL, logger
Constructor and Description |
---|
AbstractXmlValidatorTest() |
Modifier and Type | Method and Description |
---|---|
protected static Map<String,String> |
getAllTestDocuments()
Find test resources in the
doxia-test-docs-XXX.jar or in an IDE project. |
protected EntityResolver |
getEntityResolver()
Returns the EntityResolver that is used by the XMLReader for validation.
|
protected abstract String[] |
getIncludes() |
protected Map<String,String> |
getTestDocuments() |
addNamespaces, isFailErrorMessage, isValidate, setValidate, tearDown, testValidateFiles
public AbstractXmlValidatorTest()
protected abstract String[] getIncludes()
getTestDocuments()
protected Map<String,String> getTestDocuments() throws IOException
getTestDocuments
in class AbstractXmlValidator
getIncludes()
.IOException
- if anygetIncludes()
,
getAllTestDocuments()
protected EntityResolver getEntityResolver()
AbstractXmlParser.CachedFileEntityResolver
is used,
but implementations should override this for performance reasons.getEntityResolver
in class AbstractXmlValidator
protected static Map<String,String> getAllTestDocuments() throws IOException
doxia-test-docs-XXX.jar
or in an IDE project.jar:file:/.../doxia-test-docs-XXX.jar!/path/to/resource
IOException
- if anyCopyright © 2005–2022 The Apache Software Foundation. All rights reserved.