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

java.lang.Object
  extended by com.sun.xml.bind.v2.model.annotation.Quick
All Implemented Interfaces:
com.sun.xml.bind.v2.model.annotation.Locatable, com.sun.xml.bind.v2.runtime.Location, java.lang.annotation.Annotation

public 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

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).


Method Summary
 com.sun.xml.bind.v2.runtime.Location getLocation()
           
 com.sun.xml.bind.v2.model.annotation.Locatable getUpstream()
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface java.lang.annotation.Annotation
annotationType, equals, hashCode
 

Method Detail

getLocation

public final com.sun.xml.bind.v2.runtime.Location getLocation()
Specified by:
getLocation in interface com.sun.xml.bind.v2.model.annotation.Locatable

getUpstream

public final com.sun.xml.bind.v2.model.annotation.Locatable getUpstream()
Specified by:
getUpstream in interface com.sun.xml.bind.v2.model.annotation.Locatable

toString

public final java.lang.String toString()
Specified by:
toString in interface com.sun.xml.bind.v2.runtime.Location
Specified by:
toString in interface java.lang.annotation.Annotation
Overrides:
toString in class java.lang.Object