Community

Represent String Values as Element Names with JAXB (“foo” as )

(Blaise Doughan) In this example we will map a String value to an element name. Instead of bar we want . We will accomplish this by using @XmlAdapter and @XmlElementRef.

Read More - Register for Free Membership