public class ConsoleErrorReporter extends java.lang.Object implements ErrorListener
| Modifier and Type | Field and Description |
|---|---|
private java.io.PrintStream |
out |
| Constructor and Description |
|---|
ConsoleErrorReporter(java.io.PrintStream out) |
| Modifier and Type | Method and Description |
|---|---|
void |
error(org.xml.sax.SAXParseException exception) |
void |
fatalError(org.xml.sax.SAXParseException exception) |
private void |
print(org.xml.sax.SAXParseException e) |
void |
warning(org.xml.sax.SAXParseException exception) |
public void error(org.xml.sax.SAXParseException exception)
error in interface ErrorListenererror in interface org.xml.sax.ErrorHandlerpublic void fatalError(org.xml.sax.SAXParseException exception)
fatalError in interface ErrorListenerfatalError in interface org.xml.sax.ErrorHandlerpublic void warning(org.xml.sax.SAXParseException exception)
warning in interface ErrorListenerwarning in interface org.xml.sax.ErrorHandlerprivate void print(org.xml.sax.SAXParseException e)