ErrorListener, com.sun.xml.bind.api.ErrorListener, org.xml.sax.ErrorHandlerpublic class ConsoleErrorReporter extends ErrorReceiver
ErrorReceiver that prints to a PrintStream.| Constructor | Description |
|---|---|
ConsoleErrorReporter() |
|
ConsoleErrorReporter(java.io.OutputStream out) |
|
ConsoleErrorReporter(java.io.PrintStream out) |
| Modifier and Type | Method | Description |
|---|---|---|
void |
error(org.xml.sax.SAXParseException e) |
|
void |
fatalError(org.xml.sax.SAXParseException e) |
|
boolean |
hadError() |
|
void |
info(org.xml.sax.SAXParseException e) |
Reports verbose messages to users.
|
void |
warning(org.xml.sax.SAXParseException e) |
debug, error, error, error, error, getLocationString, pollAbort, warningpublic ConsoleErrorReporter(java.io.PrintStream out)
public ConsoleErrorReporter(java.io.OutputStream out)
public ConsoleErrorReporter()
public void warning(org.xml.sax.SAXParseException e)
warning in interface org.xml.sax.ErrorHandlerwarning in interface ErrorListenerwarning in interface com.sun.xml.bind.api.ErrorListenerwarning in class ErrorReceiverpublic void error(org.xml.sax.SAXParseException e)
error in interface org.xml.sax.ErrorHandlererror in interface ErrorListenererror in interface com.sun.xml.bind.api.ErrorListenererror in class ErrorReceiverpublic void fatalError(org.xml.sax.SAXParseException e)
fatalError in interface org.xml.sax.ErrorHandlerfatalError in interface ErrorListenerfatalError in interface com.sun.xml.bind.api.ErrorListenerfatalError in class ErrorReceiverpublic void info(org.xml.sax.SAXParseException e)
ErrorReceiverinfo in interface ErrorListenerinfo in interface com.sun.xml.bind.api.ErrorListenerinfo in class ErrorReceiverpublic boolean hadError()
Copyright © 2018 Oracle Corporation. All rights reserved.