com.sun.xml.bind.v2.model.annotation
Class ClassLocatable<C>

java.lang.Object
  extended by com.sun.xml.bind.v2.model.annotation.ClassLocatable<C>
All Implemented Interfaces:
Locatable

public class ClassLocatable<C>
extends Object
implements Locatable

Locatable implementation for a class.


Constructor Summary
ClassLocatable(Locatable upstream, C clazz, Navigator<?,C,?,?> nav)
           
 
Method Summary
 Location getLocation()
          Gets the location object that this object points to.
 Locatable getUpstream()
          Gets the upstream Location information.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ClassLocatable

public ClassLocatable(Locatable upstream,
                      C clazz,
                      Navigator<?,C,?,?> nav)
Method Detail

getUpstream

public Locatable getUpstream()
Description copied from interface: Locatable
Gets the upstream Location information.

Specified by:
getUpstream in interface Locatable
Returns:
can be null.

getLocation

public Location getLocation()
Description copied from interface: Locatable
Gets the location object that this object points to. This operation could be inefficient and costly.

Specified by:
getLocation in interface Locatable