public class ReporterErrorHandler
extends java.lang.Object
implements org.xml.sax.ErrorHandler
Constructor and Description |
---|
ReporterErrorHandler(Reporter reporter)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
void |
error(org.xml.sax.SAXParseException err) |
void |
fatalError(org.xml.sax.SAXParseException err) |
int |
getFatalCount()
Returns the number of fatal SAX errors encountered.
|
java.lang.String |
getSummary()
Returns a short summary of the errors encountered during the parse.
|
void |
warning(org.xml.sax.SAXParseException err) |
public ReporterErrorHandler(Reporter reporter)
reporter
- reporter object which handles delivering messagespublic int getFatalCount()
public java.lang.String getSummary()
public void warning(org.xml.sax.SAXParseException err)
warning
in interface org.xml.sax.ErrorHandler
public void error(org.xml.sax.SAXParseException err)
error
in interface org.xml.sax.ErrorHandler
public void fatalError(org.xml.sax.SAXParseException err)
fatalError
in interface org.xml.sax.ErrorHandler
Copyright © 2017 Central Laboratory of the Research Councils. All Rights Reserved.