[jboss-dev-forums] [Design of JBossXB] - Re: Setting the default XmlJavaTypeAdapter for a class
alex.loubyansky@jboss.com
do-not-reply at jboss.com
Fri Oct 12 02:56:03 EDT 2007
According to the spec:
"jaxb2 spec" wrote : When @XmlJavaTypeAdapter annotation is defined at the package level it applies to all references from within the package to @XmlJavaTypeAdapter.type().
See http://java.sun.com/javaee/5/docs/api/javax/xml/bind/annotation/adapters/XmlJavaTypeAdapter.html
I am not sure whether we support this currently.
In XB, you can set ValueAdapter on TypeBinding which can be xsd:string.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4094380#4094380
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4094380
More information about the jboss-dev-forums
mailing list