com.sun.tools.xjc
Class ConsoleErrorReporter
java.lang.Object
com.sun.tools.xjc.ErrorReceiver
com.sun.tools.xjc.ConsoleErrorReporter
- All Implemented Interfaces:
- ErrorListener, ErrorHandler
public class ConsoleErrorReporter
- extends ErrorReceiver
ErrorReceiver that prints to a PrintStream.
- Author:
- Kohsuke Kawaguchi (kohsuke.kawaguchi@sun.com)
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ConsoleErrorReporter
public ConsoleErrorReporter(PrintStream out)
ConsoleErrorReporter
public ConsoleErrorReporter(OutputStream out)
ConsoleErrorReporter
public ConsoleErrorReporter()
warning
public void warning(SAXParseException e)
- Specified by:
warning in interface ErrorListener- Specified by:
warning in interface ErrorHandler- Specified by:
warning in class ErrorReceiver
error
public void error(SAXParseException e)
- Specified by:
error in interface ErrorListener- Specified by:
error in interface ErrorHandler- Specified by:
error in class ErrorReceiver
fatalError
public void fatalError(SAXParseException e)
- Specified by:
fatalError in interface ErrorListener- Specified by:
fatalError in interface ErrorHandler- Specified by:
fatalError in class ErrorReceiver
info
public void info(SAXParseException e)
- Description copied from class:
ErrorReceiver
- Reports verbose messages to users.
This method can be used to report additional non-essential
messages. The implementation usually discards them
unless some specific debug option is turned on.
- Specified by:
info in interface ErrorListener- Specified by:
info in class ErrorReceiver
hadError
public boolean hadError()
Copyright © 2005-2015 Oracle Corporation. All Rights Reserved.