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:
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) Used to report possibly verbose information that can be safely ignored.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 interfaceErrorListener- Specified by:
errorin interfaceorg.glassfish.jaxb.core.api.ErrorListener- Overrides:
errorin classWsimportListener
-
fatalError
- Specified by:
fatalErrorin interfaceErrorHandler- Specified by:
fatalErrorin interfaceErrorListener- Specified by:
fatalErrorin interfaceorg.glassfish.jaxb.core.api.ErrorListener- Overrides:
fatalErrorin classWsimportListener
-
warning
- Specified by:
warningin interfaceErrorHandler- Specified by:
warningin interfaceErrorListener- Specified by:
warningin interfaceorg.glassfish.jaxb.core.api.ErrorListener- Overrides:
warningin classWsimportListener
-
debug
- Overrides:
debugin classWsimportListener
-
info
Description copied from interface:ErrorListenerUsed to report possibly verbose information that can be safely ignored.- Specified by:
infoin interfaceErrorListener- Specified by:
infoin interfaceorg.glassfish.jaxb.core.api.ErrorListener- Overrides:
infoin classWsimportListener
-
enableDebugging
public void enableDebugging()
-