com.sun.xml.bind.v2.model.annotation

Class Quick

public abstract class Quick extends Object implements Annotation, Locatable, Location

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.

Constructor Summary
protected Quick(Locatable upstream)
Method Summary
protected abstract AnnotationgetAnnotation()
Gets the annotation object that this object is wrapping.
LocationgetLocation()
LocatablegetUpstream()
protected abstract QuicknewInstance(Locatable upstream, Annotation core)
Factory method to create a new instance of the same kind.
StringtoString()

Constructor Detail

Quick

protected Quick(Locatable upstream)

Method Detail

getAnnotation

protected abstract Annotation getAnnotation()
Gets the annotation object that this object is wrapping.

getLocation

public final Location getLocation()

getUpstream

public final Locatable getUpstream()

newInstance

protected abstract Quick newInstance(Locatable upstream, Annotation core)
Factory method to create a new instance of the same kind. A Quick object also works as a factory of itself

toString

public final String toString()