Class ToStringPlugin

java.lang.Object
com.sun.tools.xjc.Plugin
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.
  • Field Details

  • Constructor Details

    • ToStringPlugin

      public ToStringPlugin()
  • Method Details

    • getOptionName

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

      public 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, ErrorHandler errorHandler) throws SAXException
      Specified by:
      run in class com.sun.tools.xjc.Plugin
      Throws:
      SAXException
    • onActivated

      public void onActivated(com.sun.tools.xjc.Options opts) throws com.sun.tools.xjc.BadCommandLineException
      Overrides:
      onActivated in class com.sun.tools.xjc.Plugin
      Throws:
      com.sun.tools.xjc.BadCommandLineException
    • parseArgument

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