- java.lang.Object
-
- com.sun.tools.ws.wscompile.WsimportListener
-
- com.sun.tools.ws.wscompile.WsimportTool.Listener
-
- All Implemented Interfaces:
com.sun.tools.xjc.api.ErrorListener,com.sun.xml.bind.api.ErrorListener,ErrorHandler
- Enclosing class:
- WsimportTool
protected class WsimportTool.Listener extends WsimportListener
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedListener()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voiddebug(SAXParseException exception)voidenableDebugging()voiderror(SAXParseException exception)voidfatalError(SAXParseException exception)voidgeneratedFile(String fileName)Called for each file generated by wsimport or wsgen.voidinfo(SAXParseException exception)voidmessage(String msg)Other miscellenous messages that do not have structures will be reported through this method.voidwarning(SAXParseException exception)-
Methods inherited from class com.sun.tools.ws.wscompile.WsimportListener
isCanceled
-
-
-
-
Method Detail
-
generatedFile
public void generatedFile(String fileName)
Description copied from class:WsimportListenerCalled for each file generated by wsimport or wsgen.The file name includes the path portions that correspond with the package name.
When generating files into a directory, file names will be relative to the output directory.
- Overrides:
generatedFilein classWsimportListener- Parameters:
fileName- file names like "org/acme/foo/Foo.java"
-
message
public void message(String msg)
Description copied from class:WsimportListenerOther miscellenous messages that do not have structures will be reported through this method. This method is used likePrintStream.println(String). The callee is expected to add '\n'.- Overrides:
messagein classWsimportListener
-
error
public void error(SAXParseException exception)
- Specified by:
errorin interfaceErrorHandler- Specified by:
errorin interfacecom.sun.tools.xjc.api.ErrorListener- Specified by:
errorin interfacecom.sun.xml.bind.api.ErrorListener- Overrides:
errorin classWsimportListener
-
fatalError
public void fatalError(SAXParseException exception)
- Specified by:
fatalErrorin interfaceErrorHandler- Specified by:
fatalErrorin interfacecom.sun.tools.xjc.api.ErrorListener- Specified by:
fatalErrorin interfacecom.sun.xml.bind.api.ErrorListener- Overrides:
fatalErrorin classWsimportListener
-
warning
public void warning(SAXParseException exception)
- Specified by:
warningin interfaceErrorHandler- Specified by:
warningin interfacecom.sun.tools.xjc.api.ErrorListener- Specified by:
warningin interfacecom.sun.xml.bind.api.ErrorListener- Overrides:
warningin classWsimportListener
-
debug
public void debug(SAXParseException exception)
- Overrides:
debugin classWsimportListener
-
info
public void info(SAXParseException exception)
- Specified by:
infoin interfacecom.sun.tools.xjc.api.ErrorListener- Specified by:
infoin interfacecom.sun.xml.bind.api.ErrorListener- Overrides:
infoin classWsimportListener
-
enableDebugging
public void enableDebugging()
-
-