Quantcast
Channel: Metro and JAXB Related Items on Java.net
Viewing all articles
Browse latest Browse all 171

Using jaxb2-basics plugin with XJC and generateCode method

$
0
0

Hi,

does anyone has an example about applying jaxb2-basics plugin in order to generate hashcode and equals methods into java generated classes.

I'm abble to use maven plugin to do that but i miss a piece of code to build the plugin array to pass to the method
JCodeModel jCodeModel = model.generateCode(Plugin[] arg0, ErrorListener arg1);

Thanks for your help


Viewing all articles
Browse latest Browse all 171

Trending Articles