com.sun.xml.bind.v2.model.annotation
Class ClassLocatable<C>
java.lang.Object
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.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ClassLocatable
public ClassLocatable(Locatable upstream,
C clazz,
Navigator<?,C,?,?> nav)
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