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,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 miscellaneous 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
public Listener()Default constructor.
-
-
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 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:
messagein classWsimportListener
-
error
- Specified by:
errorin interfaceErrorHandler- Specified by:
errorin interfaceErrorListener- Specified by:
errorin interfaceErrorListener- Overrides:
errorin classWsimportListener
-
fatalError
- Specified by:
fatalErrorin interfaceErrorHandler- Specified by:
fatalErrorin interfaceErrorListener- Specified by:
fatalErrorin interfaceErrorListener- Overrides:
fatalErrorin classWsimportListener
-
warning
- Specified by:
warningin interfaceErrorHandler- Specified by:
warningin interfaceErrorListener- Specified by:
warningin interfaceErrorListener- 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 interfaceErrorListener- Overrides:
infoin classWsimportListener
-
enableDebugging
public void enableDebugging()
-