Search code examples
javamethodsxsdjaxbxjc

Generate additional custom method with jaxb-xjc


There's some way to generate a custom method within an class generated with JAXB.

I search around tutorials, including oracle's tutorial, but I didn't find clear instructions how can I custom methods to a generated class described on XML Schema.


Solution

  • You can write an XJC plugin: