jaxb2-basics
jaxb2-basics copied to clipboard
Useful plugins and tools for JAXB2.
Suppose we have a complex type in a schema like this. ``` ``` By default XJC will generate a ```List``` inside class Numbers to represent the sequence. When used with...
For the simplify-plugin, all examples in the reference have `choice`-elements with `maxOccurs="unbounded"`, which correctly results in List-properties. But if `maxOccurs` is not specified it defaults to 1, so there should...
I have a question. I've got the following xsd element ```xml ``` and in my bindings file ```xml ... nl.jaxb2-basics.example.dto.AbstractType ... nl.jaxb2-basics.example.dto.AbstractType ... nl.jaxb2-basics.example.dto.AbstractType ``` The generated code now creates...
In order to reduce the API footprint.
Hello, due to `-XhashCode/-Xequals` our JAXB-generated classes implement HashCode2 and Equals2 interfaces and this makes our artifacts transitively dependant on jaxb2-basics-runtime. Is it really necessary? I wonder what is the...
Provide an option to generate the ToStringStrategy class (and a copy of dependent classes) within the generated classes (similar to how ObjectFactory is created) in order to have a 100%...
**Problem:** When the simplify plugin replaces multiple choice properties, it does not set the parent of the replacement property which leads to failures in other plugins that may be executed...
Less warnings, less castings, no unnecessary blocks
The `getFile` here is returning a `String` that is potentially adding escaping characters (e.g. '%20'). The `java.ioFile` can natively take a URI as a parameter, so avoid trying to convert...