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 TypeMethodDescriptionvoid
debug
(SAXParseException exception) void
void
error
(SAXParseException exception) void
fatalError
(SAXParseException exception) void
generatedFile
(String fileName) Called for each file generated by wsimport or wsgen.void
info
(SAXParseException exception) void
Other miscellaneous messages that do not have structures will be reported through this method.void
warning
(SAXParseException exception) Methods inherited from class com.sun.tools.ws.wscompile.WsimportListener
isCanceled
-
Constructor Details
-
Listener
public Listener()Default constructor.
-
-
Method Details
-
generatedFile
Description copied from class:WsimportListener
Called 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:
generatedFile
in classWsimportListener
- Parameters:
fileName
- file names like "org/acme/foo/Foo.java"
-
message
Description copied from class:WsimportListener
Other miscellaneous messages that do not have structures will be reported through this method.This method is used like
PrintStream.println(String)
. The callee is expected to add '\n'.- Overrides:
message
in classWsimportListener
-
error
- Specified by:
error
in interfaceErrorHandler
- Specified by:
error
in interfacecom.sun.tools.xjc.api.ErrorListener
- Specified by:
error
in interfaceorg.glassfish.jaxb.core.api.ErrorListener
- Overrides:
error
in classWsimportListener
-
fatalError
- Specified by:
fatalError
in interfaceErrorHandler
- Specified by:
fatalError
in interfacecom.sun.tools.xjc.api.ErrorListener
- Specified by:
fatalError
in interfaceorg.glassfish.jaxb.core.api.ErrorListener
- Overrides:
fatalError
in classWsimportListener
-
warning
- Specified by:
warning
in interfaceErrorHandler
- Specified by:
warning
in interfacecom.sun.tools.xjc.api.ErrorListener
- Specified by:
warning
in interfaceorg.glassfish.jaxb.core.api.ErrorListener
- Overrides:
warning
in classWsimportListener
-
debug
- Overrides:
debug
in classWsimportListener
-
info
- Specified by:
info
in interfacecom.sun.tools.xjc.api.ErrorListener
- Specified by:
info
in interfaceorg.glassfish.jaxb.core.api.ErrorListener
- Overrides:
info
in classWsimportListener
-
enableDebugging
public void enableDebugging()
-