com.sun.xml.bind.v2.model.annotation.Locatable, com.sun.xml.bind.v2.runtime.Location, java.lang.annotation.Annotationpublic abstract class Quick
extends java.lang.Object
implements java.lang.annotation.Annotation, com.sun.xml.bind.v2.model.annotation.Locatable, com.sun.xml.bind.v2.runtime.Location
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).
| Modifier | Constructor | Description |
|---|---|---|
protected |
Quick(com.sun.xml.bind.v2.model.annotation.Locatable upstream) |
| Modifier and Type | Method | Description |
|---|---|---|
protected abstract java.lang.annotation.Annotation |
getAnnotation() |
Gets the annotation object that this object is wrapping.
|
com.sun.xml.bind.v2.runtime.Location |
getLocation() |
|
com.sun.xml.bind.v2.model.annotation.Locatable |
getUpstream() |
|
protected abstract Quick |
newInstance(com.sun.xml.bind.v2.model.annotation.Locatable upstream,
java.lang.annotation.Annotation core) |
Factory method to create a new instance of the same kind.
|
java.lang.String |
toString() |
protected abstract java.lang.annotation.Annotation getAnnotation()
protected abstract Quick newInstance(com.sun.xml.bind.v2.model.annotation.Locatable upstream, java.lang.annotation.Annotation core)
Quick object also works as a factory of itselfpublic final com.sun.xml.bind.v2.runtime.Location getLocation()
getLocation in interface com.sun.xml.bind.v2.model.annotation.Locatablepublic final com.sun.xml.bind.v2.model.annotation.Locatable getUpstream()
getUpstream in interface com.sun.xml.bind.v2.model.annotation.Locatablepublic final java.lang.String toString()
toString in interface java.lang.annotation.AnnotationtoString in interface com.sun.xml.bind.v2.runtime.LocationtoString in class java.lang.ObjectCopyright © 2017 Oracle Corporation. All rights reserved.