com.sun.xml.bind.v2.model.annotation
Class MethodLocatable<M>
java.lang.Object
com.sun.xml.bind.v2.model.annotation.MethodLocatable<M>
- All Implemented Interfaces:
- Locatable
public class MethodLocatable<M>
- extends Object
- implements Locatable
Locatable
implementation for a method.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MethodLocatable
public MethodLocatable(Locatable upstream,
M method,
Navigator<?,?,?,M> 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