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 Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetUsage()voidonActivated(com.sun.tools.xjc.Options opts) intparseArgument(com.sun.tools.xjc.Options opt, String[] args, int index) booleanrun(com.sun.tools.xjc.outline.Outline outline, com.sun.tools.xjc.Options opt, ErrorHandler errorHandler) Methods inherited from class com.sun.tools.xjc.Plugin
getCustomizationURIs, isCustomizationTagName, postProcessModel
-
Field Details
-
impl
ToStringPlugin impl
-
-
Constructor Details
-
ToStringPlugin
public ToStringPlugin()
-
-
Method Details
-
getOptionName
- Specified by:
getOptionNamein classcom.sun.tools.xjc.Plugin
-
getUsage
- Specified by:
getUsagein classcom.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:
runin classcom.sun.tools.xjc.Plugin- Throws:
SAXException
-
onActivated
public void onActivated(com.sun.tools.xjc.Options opts) throws com.sun.tools.xjc.BadCommandLineException - Overrides:
onActivatedin classcom.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:
parseArgumentin classcom.sun.tools.xjc.Plugin- Throws:
com.sun.tools.xjc.BadCommandLineExceptionIOException
-