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) |
void |
message(String msg)
Other miscellenous messages that do not have structures
will be reported through this method.
|
void |
warning(SAXParseException exception) |
isCanceled
public void generatedFile(String fileName)
WsimportListener
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.
generatedFile
in class WsimportListener
fileName
- file names like "org/acme/foo/Foo.java"public void message(String msg)
WsimportListener
PrintStream.println(String)
.
The callee is expected to add '\n'.message
in class WsimportListener
public void error(SAXParseException exception)
error
in interface com.sun.xml.bind.api.ErrorListener
error
in interface ErrorHandler
error
in class WsimportListener
public void fatalError(SAXParseException exception)
fatalError
in interface com.sun.xml.bind.api.ErrorListener
fatalError
in interface ErrorHandler
fatalError
in class WsimportListener
public void warning(SAXParseException exception)
warning
in interface com.sun.xml.bind.api.ErrorListener
warning
in interface ErrorHandler
warning
in class WsimportListener
public void debug(SAXParseException exception)
debug
in class WsimportListener
public void info(SAXParseException exception)
info
in interface com.sun.xml.bind.api.ErrorListener
info
in class WsimportListener
public void enableDebugging()
Copyright © 2018 Oracle Corporation. All rights reserved.