org.apache.cxf.xjc.ts
Class ToStringPlugin
java.lang.Object
org.apache.cxf.xjc.ts.ToStringPlugin
public class ToStringPlugin
- extends java.lang.Object
Modifies the JAXB code model to override the Object.toString() method with an
implementation that provides a String representation of the xml content.
Method Summary |
java.lang.String |
getOptionName()
|
java.lang.String |
getUsage()
|
int |
parseArgument(com.sun.tools.xjc.Options opt,
java.lang.String[] args,
int index,
com.sun.tools.xjc.Plugin plugin)
|
boolean |
run(com.sun.tools.xjc.outline.Outline outline,
com.sun.tools.xjc.Options opt,
org.xml.sax.ErrorHandler errorHandler)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ToStringPlugin
public ToStringPlugin()
getOptionName
public java.lang.String getOptionName()
getUsage
public java.lang.String getUsage()
parseArgument
public int parseArgument(com.sun.tools.xjc.Options opt,
java.lang.String[] args,
int index,
com.sun.tools.xjc.Plugin plugin)
throws com.sun.tools.xjc.BadCommandLineException,
java.io.IOException
- Throws:
com.sun.tools.xjc.BadCommandLineException
java.io.IOException
run
public boolean run(com.sun.tools.xjc.outline.Outline outline,
com.sun.tools.xjc.Options opt,
org.xml.sax.ErrorHandler errorHandler)
Apache CXF