Skip to main content

Force creation of classes for simple elements

Please note these forums are being decommissioned and use the new and improved forums at
No replies
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?