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 Details

  • Constructor Details

    • BooleanGetter

      public BooleanGetter()
  • 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 model, com.sun.tools.xjc.Options opts, ErrorHandler errors) throws SAXException
      Specified by:
      run in class com.sun.tools.xjc.Plugin
      Throws:
      SAXException