com.sun.tools.ws.wscompile
Class WsimportTool.Receiver

java.lang.Object
  extended by com.sun.tools.ws.wscompile.ErrorReceiver
      extended by com.sun.tools.ws.wscompile.ErrorReceiverFilter
          extended by com.sun.tools.ws.wscompile.WsimportTool.Receiver
All Implemented Interfaces:
com.sun.xml.bind.api.ErrorListener, ErrorHandler
Enclosing class:
WsimportTool

protected class WsimportTool.Receiver
extends ErrorReceiverFilter


Constructor Summary
WsimportTool.Receiver(WsimportTool.Listener listener)
           
 
Method Summary
 void debug(SAXParseException exception)
           
 void info(SAXParseException exception)
          Reports verbose messages to users.
 void pollAbort()
          This method will be invoked periodically to allow AbortException to be thrown, especially when this is driven by some kind of GUI.
 void warning(SAXParseException exception)
           
 
Methods inherited from class com.sun.tools.ws.wscompile.ErrorReceiverFilter
error, fatalError, hadError, reset, setErrorReceiver
 
Methods inherited from class com.sun.tools.ws.wscompile.ErrorReceiver
debug, error, error, error, error, getLocationString, warning
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

WsimportTool.Receiver

public WsimportTool.Receiver(WsimportTool.Listener listener)
Method Detail

info

public void info(SAXParseException exception)
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 com.sun.xml.bind.api.ErrorListener
Overrides:
info in class ErrorReceiverFilter

warning

public void warning(SAXParseException exception)
Specified by:
warning in interface com.sun.xml.bind.api.ErrorListener
Specified by:
warning in interface ErrorHandler
Overrides:
warning in class ErrorReceiverFilter

pollAbort

public void pollAbort()
               throws AbortException
Description copied from class: ErrorReceiver
This method will be invoked periodically to allow AbortException to be thrown, especially when this is driven by some kind of GUI.

Overrides:
pollAbort in class ErrorReceiver
Throws:
AbortException

debug

public void debug(SAXParseException exception)
Overrides:
debug in class ErrorReceiverFilter


Copyright (c) 1997-2012 Oracle and/or its affiliates. All rights reserved.