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

    Modifier and Type
    Method
    Description
     
  • Method Details

    • sourceLocation

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