users@jaxb.java.net

choice and union handling

From: Dennis Sosnoski <dms_at_sosnoski.com>
Date: Thu, 06 Sep 2007 22:57:53 +1200

Is there any way to customize the code generation from schema for better
handling of choices and unions? Choices appear to be ignored (treated
the same as sequences) in the code generation, while unions are just
converted to the greatest-common-denominator type (or always to
String?). In both cases it'd be better to capture more of the intent of
the schema constructs in the generated code.

  - Dennis

-- 
Dennis M. Sosnoski
SOA and Web Services in Java
Training and Consulting
http://www.sosnoski.com - http://www.sosnoski.co.nz
Seattle, WA +1-425-939-0576 - Wellington, NZ +64-4-298-6117