public class ValidatorTester.MyErrorHandler
extends java.lang.Object
implements org.xml.sax.ErrorHandler
Modifier and Type | Method and Description |
---|---|
void |
error(org.xml.sax.SAXParseException exc)
DESCRIPTION
|
void |
fatalError(org.xml.sax.SAXParseException exc)
DESCRIPTION
|
boolean |
hasErrors()
Determines whether the parser found any validation errors.
|
boolean |
hasWarnings()
Determines whether the parser found any validation warnings.
|
void |
warning(org.xml.sax.SAXParseException exc)
DESCRIPTION
|
public void error(org.xml.sax.SAXParseException exc)
error
in interface org.xml.sax.ErrorHandler
exc
- DESCRIPTIONpublic boolean hasErrors()
public boolean hasWarnings()
public void fatalError(org.xml.sax.SAXParseException exc)
fatalError
in interface org.xml.sax.ErrorHandler
exc
- DESCRIPTIONpublic void warning(org.xml.sax.SAXParseException exc)
warning
in interface org.xml.sax.ErrorHandler
exc
- DESCRIPTION