Top Description Fields Constructors Methods
org.glassfish.jaxb.runtime.v2.model.annotation

public abstract Class Quick

extends Object
implements Annotation, Locatable, Location
Class Inheritance
All Implemented Interfaces
org.glassfish.jaxb.core.v2.runtime.Location, org.glassfish.jaxb.core.v2.model.annotation.Locatable, java.lang.annotation.Annotation
Known Direct Subclasses
org.glassfish.jaxb.runtime.v2.model.annotation.XmlAccessorOrderQuick, org.glassfish.jaxb.runtime.v2.model.annotation.XmlAccessorTypeQuick, org.glassfish.jaxb.runtime.v2.model.annotation.XmlAnyAttributeQuick, org.glassfish.jaxb.runtime.v2.model.annotation.XmlAnyElementQuick, org.glassfish.jaxb.runtime.v2.model.annotation.XmlAttachmentRefQuick, org.glassfish.jaxb.runtime.v2.model.annotation.XmlAttributeQuick, org.glassfish.jaxb.runtime.v2.model.annotation.XmlElementDeclQuick, org.glassfish.jaxb.runtime.v2.model.annotation.XmlElementQuick, org.glassfish.jaxb.runtime.v2.model.annotation.XmlElementRefQuick, org.glassfish.jaxb.runtime.v2.model.annotation.XmlElementRefsQuick, org.glassfish.jaxb.runtime.v2.model.annotation.XmlElementWrapperQuick, org.glassfish.jaxb.runtime.v2.model.annotation.XmlEnumQuick, org.glassfish.jaxb.runtime.v2.model.annotation.XmlEnumValueQuick, org.glassfish.jaxb.runtime.v2.model.annotation.XmlIDQuick, org.glassfish.jaxb.runtime.v2.model.annotation.XmlIDREFQuick, org.glassfish.jaxb.runtime.v2.model.annotation.XmlInlineBinaryDataQuick, org.glassfish.jaxb.runtime.v2.model.annotation.XmlJavaTypeAdapterQuick, org.glassfish.jaxb.runtime.v2.model.annotation.XmlJavaTypeAdaptersQuick, org.glassfish.jaxb.runtime.v2.model.annotation.XmlListQuick, org.glassfish.jaxb.runtime.v2.model.annotation.XmlMimeTypeQuick, org.glassfish.jaxb.runtime.v2.model.annotation.XmlMixedQuick, org.glassfish.jaxb.runtime.v2.model.annotation.XmlNsQuick, org.glassfish.jaxb.runtime.v2.model.annotation.XmlRegistryQuick, org.glassfish.jaxb.runtime.v2.model.annotation.XmlRootElementQuick, org.glassfish.jaxb.runtime.v2.model.annotation.XmlSchemaQuick, org.glassfish.jaxb.runtime.v2.model.annotation.XmlSchemaTypeQuick, org.glassfish.jaxb.runtime.v2.model.annotation.XmlSchemaTypesQuick, org.glassfish.jaxb.runtime.v2.model.annotation.XmlSeeAlsoQuick, org.glassfish.jaxb.runtime.v2.model.annotation.XmlTransientQuick, org.glassfish.jaxb.runtime.v2.model.annotation.XmlTypeQuick, org.glassfish.jaxb.runtime.v2.model.annotation.XmlValueQuick, org.glassfish.jaxb.runtime.v2.model.annotation.XmlElementsQuick
Imports
org.glassfish.jaxb.core.v2.model.annotation.Locatable, org.glassfish.jaxb.core.v2.runtime.Location, java.lang.annotation.Annotation

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.

Author
Kohsuke Kawaguchi

Field Summary

Modifier and TypeField and Description
private final Locatable

Constructor Summary

AccessConstructor and Description
protected
Quick(Locatable upstream)

Method Summary

Modifier and TypeMethod and Description
protected abstract Annotation
getAnnotation()

Gets the annotation object that this object is wrapping.

public final Location
getLocation()

Implements org.glassfish.jaxb.core.v2.model.annotation.Locatable.getLocation.

Gets the location object that this object points to.

public final Locatable
protected abstract Quick
newInstance(Locatable upstream, Annotation core)

Factory method to create a new instance of the same kind.

public final String
Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAllwaitwaitwait

Field Detail

upstreamback to summary
private final Locatable upstream

Constructor Detail

Quickback to summary
protected Quick(Locatable upstream)

Method Detail

getAnnotationback to summary
protected abstract Annotation getAnnotation()

Gets the annotation object that this object is wrapping.

getLocationback to summary
public final Location getLocation()

Implements org.glassfish.jaxb.core.v2.model.annotation.Locatable.getLocation.

Doc from org.glassfish.jaxb.core.v2.model.annotation.Locatable.getLocation.

Gets the location object that this object points to. This operation could be inefficient and costly.

Annotations
@Override
getUpstreamback to summary
public final Locatable getUpstream()

Implements org.glassfish.jaxb.core.v2.model.annotation.Locatable.getUpstream.

Doc from org.glassfish.jaxb.core.v2.model.annotation.Locatable.getUpstream.

Gets the upstream Location information.

Annotations
@Override
newInstanceback to summary
protected abstract Quick newInstance(Locatable upstream, Annotation core)

Factory method to create a new instance of the same kind. A object also works as a factory of itself

toStringback to summary
public final String toString()

Overrides java.lang.Object.toString.

Implements java.lang.annotation.Annotation.toString, org.glassfish.jaxb.core.v2.runtime.Location.toString.

Doc from java.lang.annotation.Annotation.toString.

Returns a string representation of this annotation. The details of the representation are implementation-dependent, but the following may be regarded as typical:

  @com.example.Name(first="Duke", middle="of", last="Java")
Annotations
@Override