public abstract class Quick extends Object implements Annotation, Locatable, 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 and Description |
|---|---|
protected |
Quick(Locatable upstream) |
| Modifier and Type | Method and Description |
|---|---|
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.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitannotationType, equals, hashCodeprotected Quick(Locatable upstream)
protected abstract Annotation getAnnotation()
protected abstract Quick newInstance(Locatable upstream, Annotation core)
Quick object also works as a factory of itselfpublic final Location getLocation()
LocatablegetLocation in interface Locatablepublic final Locatable getUpstream()
LocatableLocation information.getUpstream in interface LocatableCopyright © 2018 JBoss by Red Hat. All rights reserved.