Package com.sun.tools.ws.wscompile
Class WsimportTool.Receiver
- java.lang.Object
-
- com.sun.tools.ws.wscompile.ErrorReceiver
-
- com.sun.tools.ws.wscompile.ErrorReceiverFilter
-
- com.sun.tools.ws.wscompile.WsimportTool.Receiver
-
- All Implemented Interfaces:
ErrorListener,com.sun.xml.bind.api.ErrorListener,ErrorHandler
- Enclosing class:
- WsimportTool
protected class WsimportTool.Receiver extends ErrorReceiverFilter
-
-
Constructor Summary
Constructors Constructor Description Receiver(WsimportTool.Listener listener)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voiddebug(SAXParseException exception)voidinfo(SAXParseException exception)Reports verbose messages to users.voidpollAbort()This method will be invoked periodically to allowAbortExceptionto be thrown, especially when this is driven by some kind of GUI.voidwarning(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
-
-
-
-
Constructor Detail
-
Receiver
public Receiver(WsimportTool.Listener listener)
-
-
Method Detail
-
info
public void info(SAXParseException exception)
Description copied from class:ErrorReceiverReports 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:
infoin interfaceErrorListener- Specified by:
infoin interfacecom.sun.xml.bind.api.ErrorListener- Overrides:
infoin classErrorReceiverFilter
-
warning
public void warning(SAXParseException exception)
- Specified by:
warningin interfaceErrorHandler- Specified by:
warningin interfaceErrorListener- Specified by:
warningin interfacecom.sun.xml.bind.api.ErrorListener- Overrides:
warningin classErrorReceiverFilter
-
pollAbort
public void pollAbort() throws AbortExceptionDescription copied from class:ErrorReceiverThis method will be invoked periodically to allowAbortExceptionto be thrown, especially when this is driven by some kind of GUI.- Overrides:
pollAbortin classErrorReceiver- Throws:
AbortException
-
debug
public void debug(SAXParseException exception)
- Overrides:
debugin classErrorReceiverFilter
-
-