com.sun.tools.ws.processor.modeler.wsdl
Class ConsoleErrorReporter

java.lang.Object
  extended by com.sun.tools.ws.wscompile.ErrorReceiver
      extended by com.sun.tools.ws.processor.modeler.wsdl.ConsoleErrorReporter
All Implemented Interfaces:
ErrorListener, ErrorHandler

public class ConsoleErrorReporter
extends ErrorReceiver


Constructor Summary
ConsoleErrorReporter(OutputStream outputStream)
           
ConsoleErrorReporter(PrintStream stream)
           
 
Method Summary
 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)
           
 
Methods inherited from class com.sun.tools.ws.wscompile.ErrorReceiver
debug, error, error, error, error, getLocationString, pollAbort, warning
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ConsoleErrorReporter

public ConsoleErrorReporter(PrintStream stream)

ConsoleErrorReporter

public ConsoleErrorReporter(OutputStream outputStream)
Method Detail

hasError

public boolean hasError()

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

warning

public void warning(SAXParseException e)
Specified by:
warning in interface ErrorListener
Specified by:
warning in interface ErrorHandler
Specified by:
warning in class ErrorReceiver

info

public void info(SAXParseException e)
Used to report possibly verbose information that can be safely ignored.

Specified by:
info in interface ErrorListener
Specified by:
info in class ErrorReceiver

debug

public void debug(SAXParseException e)
Specified by:
debug in class ErrorReceiver

enableDebugging

public void enableDebugging()