permaculture playing cards*
The moose likes XML and Related Technologies and the fly likes JAXB generated enum with multipul fields? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


JavaRanch » Java Forums » Engineering » XML and Related Technologies
Bookmark "JAXB generated enum with multipul fields?" Watch "JAXB generated enum with multipul fields?" New topic
Author

JAXB generated enum with multipul fields?

Tim Legg
Greenhorn

Joined: Jun 09, 2009
Posts: 5
I'm trying to find a way to define a schema such that xjc will generate an enumeration with multipul fields. Is this possible?

For example I want xjc to generate an enum like this:



By default xjc enumerations defined in the schema already implement the value field, but I need to add more fields to the generated enum.
 
GeeCON Prague 2014
 
subject: JAXB generated enum with multipul fields?