protected class SaxParser.ValidationHandler extends Object implements ErrorHandler
| Modifier | Constructor and Description |
|---|---|
protected |
ValidationHandler() |
| Modifier and Type | Method and Description |
|---|---|
void |
error(SAXParseException e)
Routine called when a error occurs in parser.
|
void |
fatalError(SAXParseException e)
Routine called when a fatal error occurs in parser.
|
int |
getErrorCount()
Returns the number of Errors encountered.
|
SAXParseException |
getException()
Returns a saved parser exception.
|
boolean |
isError()
Returns boolean indicating if an error has occurred.
|
void |
warning(SAXParseException e)
Routine called when a warning occurs in parser.
|
public void warning(SAXParseException e) throws SAXException
warning in interface ErrorHandlere - SAXParseException is warning exception.SAXExceptionpublic void error(SAXParseException e) throws SAXException
error in interface ErrorHandlere - SAXParseException is error exception.SAXExceptionpublic void fatalError(SAXParseException e) throws SAXException
fatalError in interface ErrorHandlere - SAXParseException is fatal error exception.SAXExceptionpublic int getErrorCount()
public SAXParseException getException()
public boolean isError()