junitx.ddtunit.data.processing.parser
Class SAXValidator
java.lang.Object
junitx.ddtunit.data.processing.parser.SAXValidator
- All Implemented Interfaces:
- ErrorHandler
public final class SAXValidator
- extends Object
- Author:
- jg
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
XSD_RESOURCE_PATH
public static final String XSD_RESOURCE_PATH
- resource path of xml schema used for validation
- See Also:
- Constant Field Values
SAXValidator
public SAXValidator()
validate
public void validate(String resourceName)
error
public void error(SAXParseException exception)
throws SAXException
- Specified by:
error
in interface ErrorHandler
- Parameters:
exception
- propagated from sax parser
- Throws:
SAXException
- See Also:
ErrorHandler.error(org.xml.sax.SAXParseException)
fatalError
public void fatalError(SAXParseException exception)
throws SAXException
- Specified by:
fatalError
in interface ErrorHandler
- Throws:
SAXException
- See Also:
ErrorHandler.fatalError(org.xml.sax.SAXParseException)
warning
public void warning(SAXParseException exception)
throws SAXException
- Specified by:
warning
in interface ErrorHandler
- Parameters:
exception
- propagated from sax parser
- Throws:
SAXException
- See Also:
ErrorHandler.warning(org.xml.sax.SAXParseException)
Copyright © 2004-2011. All Rights Reserved.