EclipseLink 2.4.2, build 'v20130514-5956486' API Reference

org.eclipse.persistence.oxm.annotations
Annotation Type XmlLocation


@Target(value={METHOD,FIELD})
@Retention(value=RUNTIME)
public @interface XmlLocation

XmlLocation can be used on a property of type Locator, to provide information about the XML location (line and column number, source location) that the owning object was unmarshalled from.

This annotation can be used on:

If this property is also marked as XmlTransient, then no Location information will be marshalled to XML, however the Location will be set on the object when unmarshalling.

See Also:
Locator


EclipseLink 2.4.2, build 'v20130514-5956486' API Reference