org.jvnet.jaxb2_commons
Class BooleanGetter
java.lang.Object
com.sun.tools.xjc.Plugin
org.jvnet.jaxb2_commons.BooleanGetter
public class BooleanGetter
- extends 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.
- Version:
- 1.0
- Author:
- Adam Burnett
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
OPTION_NAME
protected final java.lang.String OPTION_NAME
- See Also:
- Constant Field Values
BooleanGetter
public BooleanGetter()
getOptionName
public java.lang.String getOptionName()
- Specified by:
getOptionName in class Plugin
getUsage
public java.lang.String getUsage()
- Specified by:
getUsage in class Plugin
run
public boolean run(Outline model,
Options opts,
org.xml.sax.ErrorHandler errors)
throws org.xml.sax.SAXException
- Specified by:
run in class Plugin
- Throws:
org.xml.sax.SAXException
Copyright © 2005-2010 Sun Microsystems. All Rights Reserved.