Top Description Methods
org.eclipse.persistence.oxm.annotations

public @Interface XmlLocation

extends Annotation
Annotations
@Target:METHOD, FIELD
@Retention:RUNTIME
Static Imports
java.lang.annotation.ElementType.FIELD, .ElementType.METHOD, .RetentionPolicy.RUNTIME

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
org.xml.sax.Locator

Method Summary

Inherited from java.lang.annotation.Annotation:
annotationTypeequalshashCodetoString