Top Description Methods
org.glassfish.jaxb.core

public Interface Locatable

Imports
org.glassfish.jaxb.core.annotation.XmlLocation, org.xml.sax.Locator

Optional interface implemented by JAXB objects to expose location information from which an object is unmarshalled.

This is used during JAXB RI 1.0.x. In JAXB 2.0, use XmlLocation.

Author
Kohsuke Kawaguchi ([email protected])
Since
JAXB RI 1.0

Method Summary

Modifier and TypeMethod and Description
public Locator
sourceLocation()

Returns: null if the location information is unavaiable, or otherwise return a immutable valid Locator object.

Method Detail

sourceLocationback to summary
public Locator sourceLocation()
Returns:Locator

null if the location information is unavaiable, or otherwise return a immutable valid Locator object.