Class BooleanGetter
- java.lang.Object
-
- com.sun.tools.xjc.Plugin
-
- org.jvnet.jaxb.plugin.booleangetter.BooleanGetter
-
public class BooleanGetter extends com.sun.tools.xjc.PluginXJC 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 Modifier and Type Field Description protected StringOPTION_NAME
-
Constructor Summary
Constructors Constructor Description BooleanGetter()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetOptionName()StringgetUsage()booleanrun(com.sun.tools.xjc.outline.Outline model, com.sun.tools.xjc.Options opts, ErrorHandler errors)
-
-
-
Field Detail
-
OPTION_NAME
protected final String OPTION_NAME
- See Also:
- Constant Field Values
-
-
Method Detail
-
getOptionName
public String getOptionName()
- Specified by:
getOptionNamein classcom.sun.tools.xjc.Plugin
-
getUsage
public String 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
-
-