|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object net.sf.saxon.StandardErrorHandler
public class StandardErrorHandler
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 |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public StandardErrorHandler(ErrorListener listener)
Method Detail |
---|
public void setErrorOutput(Writer writer)
writer
- The Writer to use for error messagespublic void warning(SAXParseException e)
warning
in interface ErrorHandler
public void error(SAXParseException e) throws SAXException
error
in interface ErrorHandler
SAXException
public void fatalError(SAXParseException e) throws SAXException
fatalError
in interface ErrorHandler
SAXException
protected void reportError(SAXParseException e, boolean isFatal)
public int getWarningCount()
public int getErrorCount()
public int getFatalErrorCount()
|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |