jastrachan_at_mac.com wrote:
> what'd be really handy would be an extension option you can enable to
> generate something like this...
>
> @XmlAccessorType(value = AccessType.FIELD)
> @XmlType(name = "Relationship", namespace =
> "http://schemas.xmlsoap.org/ws/2003/03/addressing")
> public class Relationship {
> public static final QName QNAME = new
> QName("http://schemas.xmlsoap.org/ws/2003/03/addressing",
> "Relationship");
>
> ..
> }
Ah, that's very easy, if you are happy for it to be an JAXB RI specific
option. That sounds like an excellent use case for my recent plug-in
architecture work...
--
Kohsuke Kawaguchi
Sun Microsystems kohsuke.kawaguchi_at_sun.com