public class WsimportListener extends Object implements com.sun.tools.xjc.api.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) |
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 com.sun.xml.bind.api.ErrorListener
error
in interface ErrorHandler
public void fatalError(SAXParseException exception)
fatalError
in interface com.sun.xml.bind.api.ErrorListener
fatalError
in interface ErrorHandler
public void warning(SAXParseException exception)
warning
in interface com.sun.xml.bind.api.ErrorListener
warning
in interface ErrorHandler
public void info(SAXParseException exception)
info
in interface com.sun.xml.bind.api.ErrorListener
public void debug(SAXParseException exception)
public boolean isCanceled()
WsimportListener
wants to abort the processing.Copyright © 2015 Oracle Corporation. All rights reserved.