Skip to content
/ jaxb-v2 Public

The develop branch of this jaxb fork includes modifications to enable XJC plugins to perform more java model changes than are normally supported or allowed.

Notifications You must be signed in to change notification settings

cleo/jaxb-v2

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 

Repository files navigation

Licensing and Governance

JAXB is licensed under a dual license - CDDL 1.1 and GPL 2.0 with Class-path Exception. That means you can choose which one of the two suits your needs better and use it under those terms.

We use GlassFish Governance Policy, which means we can only accept contributions under the terms of OCA.

More Info

Follow @gfmetro (TBD) on Twitter to get JAXB and wider Metro (WSIT, JAX-WS, ...) related updates. See the Metro website at http://metro.java.net to access Metro documentation and release information.

If you run into any issues or have questions, ask at our user forum: [email protected], or file an issue at one of the issue trackers

Changes in Fork

NameConverter

The NameConverter interface has all instances moved from out to the NameConverterProvider class definition.

Now, the interface is just an interface and can be changed via the SchemaCompiler's options. All previous references to NameConverter.standard are now going through the NameConverterProvider.getStandard() static method.

Squeezed name is used in CClassInfo

Binding values were being ignored in the CClassInfo methods and now they are honored if the squeezed name value is set.

JCodeModel is slighty more mutable

Changes throughout the JCodeModel classes were needed to be made so post processing could be done to the instances.

Some changes:

Ref instantiation is controlled through a factory

A new class RefFactory was added that can be overridden in the SchemaCompiler's options so change how reference classes are instantiated.

The current implementations where originally found in the RawTypeSetBuilder. Classes that referenced RawTypeSetBuilder.Ref are now referencing the new Ref class.

An example of how to change the functionality of the RefFactory can be found in the AbstractXJCTest#addCustomTestingOptions method

CTBuilder instantiation is controlled through a factory

A new class CTBuilderFactory was added that can be overridden in the SchemaCompiler's options so change how complex type builders are instantiated.

The CTBuilder has been updated to load its array of CTBuilders through the factory instead of an instance variable.

An example of how to change the functionality of the CTBuilderFactory can be found in the AbstractXJCTest#addCustomTestingOptions method

About

The develop branch of this jaxb fork includes modifications to enable XJC plugins to perform more java model changes than are normally supported or allowed.

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages