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