Package com.sun.tools.ws.wscompile
Class WsimportTool.Listener
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,org.glassfish.jaxb.core.api.ErrorListener,ErrorHandler
- Enclosing class:
- WsimportTool
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoiddebug(SAXParseException exception) voidvoiderror(SAXParseException exception) voidfatalError(SAXParseException exception) voidgeneratedFile(String fileName) Called for each file generated by wsimport or wsgen.voidinfo(SAXParseException exception) voidOther 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
-
Constructor Details
-
Listener
protected Listener()
-
-
Method Details
-
generatedFile
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
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
- Specified by:
errorin interfaceErrorHandler- Specified by:
errorin interfacecom.sun.tools.xjc.api.ErrorListener- Specified by:
errorin interfaceorg.glassfish.jaxb.core.api.ErrorListener- Overrides:
errorin classWsimportListener
-
fatalError
- Specified by:
fatalErrorin interfaceErrorHandler- Specified by:
fatalErrorin interfacecom.sun.tools.xjc.api.ErrorListener- Specified by:
fatalErrorin interfaceorg.glassfish.jaxb.core.api.ErrorListener- Overrides:
fatalErrorin classWsimportListener
-
warning
- Specified by:
warningin interfaceErrorHandler- Specified by:
warningin interfacecom.sun.tools.xjc.api.ErrorListener- Specified by:
warningin interfaceorg.glassfish.jaxb.core.api.ErrorListener- Overrides:
warningin classWsimportListener
-
debug
- Overrides:
debugin classWsimportListener
-
info
- Specified by:
infoin interfacecom.sun.tools.xjc.api.ErrorListener- Specified by:
infoin interfaceorg.glassfish.jaxb.core.api.ErrorListener- Overrides:
infoin classWsimportListener
-
enableDebugging
public void enableDebugging()
-