com.sun.tools.xjc.addon.apache_cxf.ts
Class ToStringPlugin

java.lang.Object
  extended by com.sun.tools.xjc.Plugin
      extended by com.sun.tools.xjc.addon.apache_cxf.ts.ToStringPlugin

public class ToStringPlugin
extends com.sun.tools.xjc.Plugin

Thin wrapper around the ToStringPlugin. This must be in the com.sun.tools.xjc.addon package for it to work with Java 6. See https://issues.apache.org/jira/browse/CXF-1880.


Constructor Summary
ToStringPlugin()
           
 
Method Summary
 java.lang.String getOptionName()
           
 java.lang.String getUsage()
           
 int parseArgument(com.sun.tools.xjc.Options opt, java.lang.String[] args, int index)
           
 boolean run(com.sun.tools.xjc.outline.Outline outline, com.sun.tools.xjc.Options opt, org.xml.sax.ErrorHandler errorHandler)
           
 
Methods inherited from class com.sun.tools.xjc.Plugin
getCustomizationURIs, isCustomizationTagName, onActivated, postProcessModel
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ToStringPlugin

public ToStringPlugin()
Method Detail

getOptionName

public java.lang.String getOptionName()
Specified by:
getOptionName in class com.sun.tools.xjc.Plugin

getUsage

public java.lang.String getUsage()
Specified by:
getUsage in class com.sun.tools.xjc.Plugin

run

public boolean run(com.sun.tools.xjc.outline.Outline outline,
                   com.sun.tools.xjc.Options opt,
                   org.xml.sax.ErrorHandler errorHandler)
            throws org.xml.sax.SAXException
Specified by:
run in class com.sun.tools.xjc.Plugin
Throws:
org.xml.sax.SAXException

parseArgument

public int parseArgument(com.sun.tools.xjc.Options opt,
                         java.lang.String[] args,
                         int index)
                  throws com.sun.tools.xjc.BadCommandLineException,
                         java.io.IOException
Overrides:
parseArgument in class com.sun.tools.xjc.Plugin
Throws:
com.sun.tools.xjc.BadCommandLineException
java.io.IOException


Apache CXF