Reputation: 615
I'm using XJC to create Java classes from an XML schema file.
The fields in the created classes are protected, which used to be ok for me. But now I'm doing some Tomcat-BlazeDS-Flash-Java-Serializing stuff where I need the fields of the generated classes to be public.
Can XJC be configured to do exactly that?
Upvotes: 1
Views: 1201
Reputation: 149047
You could write an XJC plugin to get this behaviour. The link below has some pointers for creating a plugin:
Upvotes: 1