EclipseLink 2.1.2, build 'v20101206-r8635' API Reference

Annotation Type XmlPath

public @interface XmlPath

This annotation allows a user to specify an xpath instead of an element name. It can be used in conjunction with JAXB Annotations to provide a higher level of customisation to the mappings. The following types of paths are supported:

 public class Customer {
    public String firstName
    public Address homeAddress;
    public Address workAddress;

Required Element Summary
 java.lang.String value

Element Detail


public abstract java.lang.String value

EclipseLink 2.1.2, build 'v20101206-r8635' API Reference