|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.sun.xml.bind.v2.model.annotation.Quick
public abstract class Quick
Base implementation of Locatable
Annotation
.
Derived classes of this class is provided for annotations that are commonly
used in JAXB, to improve the performance of LocatableAnnotation.create(A, com.sun.xml.bind.v2.model.annotation.Locatable)
.
Constructor Summary | |
---|---|
protected |
Quick(Locatable upstream)
|
Method Summary | |
---|---|
protected abstract Annotation |
getAnnotation()
Gets the annotation object that this object is wrapping. |
Location |
getLocation()
Gets the location object that this object points to. |
Locatable |
getUpstream()
Gets the upstream Location information. |
protected abstract Quick |
newInstance(Locatable upstream,
Annotation core)
Factory method to create a new instance of the same kind. |
String |
toString()
Returns a human-readable string that represents this position. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Methods inherited from interface java.lang.annotation.Annotation |
---|
annotationType, equals, hashCode |
Constructor Detail |
---|
protected Quick(Locatable upstream)
Method Detail |
---|
protected abstract Annotation getAnnotation()
protected abstract Quick newInstance(Locatable upstream, Annotation core)
Quick
object also works as a factory of itself
public final Location getLocation()
Locatable
getLocation
in interface Locatable
public final Locatable getUpstream()
Locatable
Location
information.
getUpstream
in interface Locatable
public final String toString()
Location
toString
in interface Location
toString
in interface Annotation
toString
in class Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |