Skip to content
Useful plugins and tools for JAXB2.
Branch: master
Clone or download
Type Name Latest commit message Commit time
Failed to load latest commit information.
ant Version 0.12.1-SNAPSHOT Jun 4, 2018
dist Version 0.12.1-SNAPSHOT Jun 4, 2018
plugins Version 0.12.1-SNAPSHOT Jun 4, 2018
samples Version 0.12.1-SNAPSHOT Jun 4, 2018
testing Version 0.12.1-SNAPSHOT Jun 4, 2018
tests Using strategy singleton via getInstance(). Fixes #96. Feb 9, 2019
tools Removed unnecessary variable. Feb 9, 2019
.gitignore Added a few missing ignores #91. Jun 4, 2018
LICENSE Create LICENSE Oct 23, 2014 Added a file for simple todos tracking. Dec 17, 2014
deploy.bat Moving directories. Sep 26, 2014
pom.xml Version 0.12.1-SNAPSHOT Jun 4, 2018

JAXB2 Basics

JAXB2 Basics is an open source project which provides useful plugins and tools for JAXB 2.x reference implementation.


Please refer to the wiki for documentation.

JAXB2 Basics can only be used with JAXB/XJC 2.3.0 and higher. JAXB/XJC versions 2.2.x and earlier are no longer supported.

JAXB2 Basics can only be used with Java 1.7 and above.

Using JAXB2 Basics

JAXB2 Basics Plugins

  • SimpleEquals Plugin - generates runtime-free reflection-free equals(...) methods.
  • SimpleHashCode Plugin - generates runtime-free reflection-free hashCode() methods.
  • Equals Plugin - generates reflection-free strategic equals(...) method.
  • HashCode Plugin - generates reflection-free strategic hashCode() method.
  • ToString Plugin - generates reflection-free strategic toString() methods.
  • Copyable Plugin - generates reflection-free strategic copy(...) deep copying.
  • Mergeable Plugin - generates reflection-free strategic merge(...) methods to merge data from two source objects into the given object.
  • Inheritance Plugin - makes schema-derived classes extend certain class or implement certain interfaces.
  • Wildcard Plugin - allows you to specify the wildcard mode for the wildcard properties.
  • AutoInheritance Plugin - makes classes derived from global elements or complex types extend or implement certain classes or interfaces automatically.
  • Setters Plugin - generates setters for collections.
  • Simplify Plugin - simplifies weird properties like aOrBOrC.
  • EnumValue Plugin - makes all the generated enums implement the EnumValue<T> interface.
  • JAXBIndex Plugin - generated jaxb.index files listing schema-derived classes.
  • FixJAXB1058 Plugin - fixes JAXB-1058.


You can’t perform that action at this time.