com.sun.tools.ws.wscompile
Class WsimportTool.Listener
java.lang.Object
com.sun.tools.ws.wscompile.WsimportListener
com.sun.tools.ws.wscompile.WsimportTool.Listener
- All Implemented Interfaces:
- ErrorListener, org.xml.sax.ErrorHandler
- Enclosing class:
- WsimportTool
protected class WsimportTool.Listener
- extends WsimportListener
|
Method Summary |
void |
debug(org.xml.sax.SAXParseException exception)
|
void |
enableDebugging()
|
void |
error(org.xml.sax.SAXParseException exception)
|
void |
fatalError(org.xml.sax.SAXParseException exception)
|
void |
generatedFile(java.lang.String fileName)
Called for each file generated by wsimport or wsgen. |
void |
info(org.xml.sax.SAXParseException exception)
Used to report possibly verbose information that
can be safely ignored. |
void |
message(java.lang.String msg)
Other miscellenous messages that do not have structures
will be reported through this method. |
void |
warning(org.xml.sax.SAXParseException exception)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
WsimportTool.Listener
protected WsimportTool.Listener()
generatedFile
public void generatedFile(java.lang.String fileName)
- Description copied from class:
WsimportListener
- Called for each file generated by wsimport or wsgen.
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.
- Overrides:
generatedFile in class WsimportListener
- Parameters:
fileName - file names like "org/acme/foo/Foo.java"
message
public void message(java.lang.String msg)
- Description copied from class:
WsimportListener
- Other miscellenous messages that do not have structures
will be reported through this method.
This method is used like
PrintStream.println(String).
The callee is expected to add '\n'.
- Overrides:
message in class WsimportListener
error
public void error(org.xml.sax.SAXParseException exception)
- Specified by:
error in interface ErrorListener- Specified by:
error in interface org.xml.sax.ErrorHandler- Overrides:
error in class WsimportListener
fatalError
public void fatalError(org.xml.sax.SAXParseException exception)
- Specified by:
fatalError in interface ErrorListener- Specified by:
fatalError in interface org.xml.sax.ErrorHandler- Overrides:
fatalError in class WsimportListener
warning
public void warning(org.xml.sax.SAXParseException exception)
- Specified by:
warning in interface ErrorListener- Specified by:
warning in interface org.xml.sax.ErrorHandler- Overrides:
warning in class WsimportListener
debug
public void debug(org.xml.sax.SAXParseException exception)
- Overrides:
debug in class WsimportListener
info
public void info(org.xml.sax.SAXParseException exception)
- Description copied from interface:
ErrorListener
- Used to report possibly verbose information that
can be safely ignored.
- Specified by:
info in interface ErrorListener- Overrides:
info in class WsimportListener
enableDebugging
public void enableDebugging()
Copyright © 2005-2013 Oracle Corporation. All Rights Reserved.