public class ConsoleErrorReporter extends ErrorReceiver
| Constructor and Description |
|---|
ConsoleErrorReporter(OutputStream outputStream) |
ConsoleErrorReporter(PrintStream stream) |
| Modifier and Type | Method and Description |
|---|---|
void |
debug(SAXParseException e) |
void |
enableDebugging() |
void |
error(SAXParseException e) |
void |
fatalError(SAXParseException e) |
boolean |
hasError() |
void |
info(SAXParseException e)
Used to report possibly verbose information that
can be safely ignored.
|
void |
warning(SAXParseException e) |
debug, error, error, error, error, getLocationString, pollAbort, warningpublic ConsoleErrorReporter(PrintStream stream)
public ConsoleErrorReporter(OutputStream outputStream)
public boolean hasError()
public void error(SAXParseException e)
error in interface com.sun.xml.bind.api.ErrorListenererror in interface ErrorHandlererror in class ErrorReceiverpublic void fatalError(SAXParseException e)
fatalError in interface com.sun.xml.bind.api.ErrorListenerfatalError in interface ErrorHandlerfatalError in class ErrorReceiverpublic void warning(SAXParseException e)
warning in interface com.sun.xml.bind.api.ErrorListenerwarning in interface ErrorHandlerwarning in class ErrorReceiverpublic void info(SAXParseException e)
info in interface com.sun.xml.bind.api.ErrorListenerinfo in class ErrorReceiverpublic void debug(SAXParseException e)
debug in class ErrorReceiverpublic void enableDebugging()
Copyright (c) 1997-2012 Oracle and/or its affiliates. All rights reserved.