|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnet.sf.saxon.StandardErrorHandler
public class StandardErrorHandler
Constructor Summary | |
---|---|
StandardErrorHandler(javax.xml.transform.ErrorListener listener)
|
Method Summary | |
---|---|
void |
error(org.xml.sax.SAXParseException e)
Callback interface for SAX: not for application use |
void |
fatalError(org.xml.sax.SAXParseException e)
Callback interface for SAX: not for application use |
int |
getErrorCount()
Return the number of errors (including warnings) reported |
protected void |
reportError(org.xml.sax.SAXParseException e,
boolean isFatal)
Common routine for SAX errors and fatal errors |
void |
setErrorOutput(java.io.Writer writer)
Set output for error messages produced by the default error handler. |
void |
warning(org.xml.sax.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(javax.xml.transform.ErrorListener listener)
Method Detail |
---|
public void setErrorOutput(java.io.Writer writer)
writer
- The Writer to use for error messagespublic void warning(org.xml.sax.SAXParseException e)
warning
in interface org.xml.sax.ErrorHandler
public void error(org.xml.sax.SAXParseException e) throws org.xml.sax.SAXException
error
in interface org.xml.sax.ErrorHandler
org.xml.sax.SAXException
public void fatalError(org.xml.sax.SAXParseException e) throws org.xml.sax.SAXException
fatalError
in interface org.xml.sax.ErrorHandler
org.xml.sax.SAXException
protected void reportError(org.xml.sax.SAXParseException e, boolean isFatal)
public int getErrorCount()
|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |