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
Author:
Kohsuke Kawaguchi (kohsuke.kawaguchi@sun.com)

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.


Copyright © 2005-2012 Oracle Corporation. All Rights Reserved.