com.sun.xml.bind
Interface Locatable


public interface Locatable

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.

Since:
JAXB RI 1.0

Method Summary
 Locator sourceLocation()
           
 

Method Detail

sourceLocation

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