XJC - is it extensible?
问题 This question is related to JAXB2 type restriction not working?. I want to extend XJC to support type restrictions. It would be as simple as overriding super class' field definitions. Is there any way to do that properly? Any hooks? Any similar tools? 回答1: Yes , XJC is extensible with plugins: 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