Skip to main content

Force creation of classes for simple elements

Please note these java.net forums are being decommissioned and use the new and improved forums at https://community.oracle.com/community/java.
No replies
mc-lean
Offline
Joined: 2014-05-15

I understand that JAXB's behavior is to not generate unnecessary classes and that in the example below no 'Foo' class will be generated. Without changes my XSD is there a way to force creation of a 'Foo' class?