This Confluence has been LDAP enabled, if you are an ASF Committer, please use your LDAP Credentials to login. Any problems file an INFRA jira ticket please.

Child pages
  • cxf-xjc-boolean
Skip to end of metadata
Go to start of metadata

CXF XJC Boolean Getter Plugin

The CXF XJC Boolean Getter Plugin provides and XJC plugin that updates the generated beans to change the boolean getter methods from "isFoo()" to "getFoo()". This is useful when integrating with certain other applications that use simple BeanInfo reflection to determine the properties.

For example, if the schema contains:

<xs:complexType name="Foo">
	    <xs:element name="value" type="xs:boolean"/>

it would generate getter methods like:

    public boolean getValue() {
        return value;

Instead of the default method of:

    public boolean isValue() {
        return value;

To use with Maven


  • No labels