Class BooleanGetter
java.lang.Object
com.sun.tools.xjc.Plugin
org.jvnet.jaxb.plugin.booleangetter.BooleanGetter
public class BooleanGetter
extends com.sun.tools.xjc.Plugin
XJC plugin to generate getXX functions instead of isXX functions for boolean values.
The motivation is to make using XJC generated classes easier to use with Spring, since
Spring expects accessors to be called getXX.
- Author:
- Adam Burnett This plugin came from here : org.andromda.thirdparty.jaxb2_commons:booleangetter:1.0
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetUsage()booleanrun(com.sun.tools.xjc.outline.Outline model, com.sun.tools.xjc.Options opts, ErrorHandler errors) Methods inherited from class com.sun.tools.xjc.Plugin
getCustomizationURIs, isCustomizationTagName, onActivated, parseArgument, postProcessModel
-
Field Details
-
OPTION_NAME
- See Also:
-
-
Constructor Details
-
BooleanGetter
public BooleanGetter()
-
-
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 model, com.sun.tools.xjc.Options opts, ErrorHandler errors) throws SAXException - Specified by:
runin classcom.sun.tools.xjc.Plugin- Throws:
SAXException
-