protected class WsimportTool.Listener extends WsimportListener
| Modifier | Constructor and Description |
|---|---|
protected |
Listener() |
| Modifier and Type | Method and Description |
|---|---|
void |
debug(SAXParseException exception) |
void |
enableDebugging() |
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)
Used to report possibly verbose information that
can be safely ignored.
|
void |
message(String msg)
Other miscellenous messages that do not have structures
will be reported through this method.
|
void |
warning(SAXParseException exception) |
isCanceledpublic void generatedFile(String fileName)
com.sun.tools.ws.wscompile.WsimportListenerThe 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.
generatedFile in class WsimportListenerfileName - file names like "org/acme/foo/Foo.java"public void message(String msg)
com.sun.tools.ws.wscompile.WsimportListenerPrintStream.println(String).
The callee is expected to add '\n'.message in class WsimportListenerpublic void error(SAXParseException exception)
error in interface ErrorListenererror in interface ErrorHandlererror in class WsimportListenerpublic void fatalError(SAXParseException exception)
fatalError in interface ErrorListenerfatalError in interface ErrorHandlerfatalError in class WsimportListenerpublic void warning(SAXParseException exception)
warning in interface ErrorListenerwarning in interface ErrorHandlerwarning in class WsimportListenerpublic void debug(SAXParseException exception)
debug in class WsimportListenerpublic void info(SAXParseException exception)
com.sun.tools.xjc.api.ErrorListenerinfo in interface ErrorListenerinfo in class WsimportListenerpublic void enableDebugging()
Copyright © 2005–2017 Oracle Corporation. All rights reserved.