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/...
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#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...