I have the following bean class
@XmlRootElement(name = \"book\")
//Optional
@XmlType(propOrder = {\"name\" })
public class Book {
private String name;
priv
Note: I'm the EclipseLink JAXB (MOXy) lead and a member of the JAXB 2 (JSR-222) expert group.
The MOXy JAXB implementation offers the ability to manipulate the mapping metadata at runtime via its MetadataSource extension. For a detailed example see: