What can a plugin do?

A JAXB RI plugin participates in the code generation from a schema. It can define its own customizations that users can use to control it, it can access the code that the JAXB RI generates, and it can generate additional classes/methods/fields/annotations/comments.

A plugin can also choose to take over the XJC's code generation process completely. Only one plugin can do this at any given time, but this allows a plugin to generate radically different code from a schema.

Interested in writing a plugin?

If you are thinking about writing a plugin, first join the users list and drop us a note so that we can help you.

Resources

(blog) Writing a plug-in for the JAXB RI is really easy
Technical introduction of a JAXB RI plugin. What it can do, how to write one, how can you use it.
(blog) How to write a jaxb2 plugin?
Process introduction of a JAXB RI plugin. How do you start it and host it on java.net?
(mail thread) Setting up a productive development/debugging environment for plugins
How do you run a plugin under a debugger?
JAXB2 commons project
Learn from the source code of the other plugins: (java.net)
Plugins bundled in the JAXB RI
More plugin source code for you to look at: (java.net)
Terms of Use; Privacy Policy; Copyright ©2013-2014 (revision 20140418.2d69abc)
 
 
Close
loading
Please Confirm
Close