net.sf.saxon
public class StandardErrorHandler extends Object implements ErrorHandler
Constructor Summary | |
---|---|
StandardErrorHandler(ErrorListener listener) |
Method Summary | |
---|---|
void | error(SAXParseException e)
Callback interface for SAX: not for application use |
void | fatalError(SAXParseException e)
Callback interface for SAX: not for application use |
int | getErrorCount()
Return the number of errors reported |
int | getFatalErrorCount()
Return the number of fatal errors reported |
int | getWarningCount()
Return the number of warnings (including warnings) reported |
protected void | reportError(SAXParseException e, boolean isFatal)
Common routine for SAX errors and fatal errors |
void | setErrorOutput(Writer writer)
Set output for error messages produced by the default error handler.
|
void | warning(SAXParseException e)
Callback interface for SAX: not for application use |
Returns: the number of non-fatal errors
Returns: the number of fatal errors
Returns: the number of warnings
Parameters: writer The Writer to use for error messages