protected class WsimportTool.Listener extends WsimportListener
| Modifier and Type | Field and Description |
|---|---|
(package private) ConsoleErrorReporter |
cer |
| Modifier | Constructor and Description |
|---|---|
protected |
WsimportTool.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) |
isCanceledConsoleErrorReporter cer
public void generatedFile(String fileName)
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)
WsimportListenerPrintStream.println(String).
The callee is expected to add '\n'.message in class WsimportListenerpublic void error(SAXParseException exception)
error in interface com.sun.xml.bind.api.ErrorListenererror in interface ErrorHandlererror in class WsimportListenerpublic void fatalError(SAXParseException exception)
fatalError in interface com.sun.xml.bind.api.ErrorListenerfatalError in interface ErrorHandlerfatalError in class WsimportListenerpublic void warning(SAXParseException exception)
warning in interface com.sun.xml.bind.api.ErrorListenerwarning in interface ErrorHandlerwarning in class WsimportListenerpublic void debug(SAXParseException exception)
debug in class WsimportListenerpublic void info(SAXParseException exception)
info in interface com.sun.xml.bind.api.ErrorListenerinfo in class WsimportListenerpublic void enableDebugging()
Copyright (c) 1997-2012 Oracle and/or its affiliates. All rights reserved.