public class WsimportListener extends Object implements ErrorListener
| Constructor and Description |
|---|
WsimportListener() |
| Modifier and Type | Method and Description |
|---|---|
void |
debug(SAXParseException exception) |
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.
|
boolean |
isCanceled()
wsimport will periodically invoke this method to see if it should cancel a compilation.
|
void |
message(String msg)
Other miscellenous messages that do not have structures
will be reported through this method.
|
void |
warning(SAXParseException exception) |
public void generatedFile(String fileName)
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.
fileName - file names like "org/acme/foo/Foo.java"public void message(String msg)
PrintStream.println(String).
The callee is expected to add '\n'.public void error(SAXParseException exception)
error in interface ErrorListenererror in interface ErrorHandlerpublic void fatalError(SAXParseException exception)
fatalError in interface ErrorListenerfatalError in interface ErrorHandlerpublic void warning(SAXParseException exception)
warning in interface ErrorListenerwarning in interface ErrorHandlerpublic void info(SAXParseException exception)
ErrorListenerinfo in interface ErrorListenerpublic void debug(SAXParseException exception)
public boolean isCanceled()
WsimportListener wants to abort the processing.Copyright © 2005–2018 Oracle Corporation. All rights reserved.