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

public Class ClassLocatable<C>

extends Object
implements Locatable
Class Inheritance
All Implemented Interfaces
org.glassfish.jaxb.core.v2.model.annotation.Locatable
Imports
org.glassfish.jaxb.core.v2.model.annotation.Locatable, org.glassfish.jaxb.core.v2.model.nav.Navigator, org.glassfish.jaxb.core.v2.runtime.Location

Locatable implementation for a class.
Author
Kohsuke Kawaguchi

Field Summary

Modifier and TypeField and Description
private final C
private final Locatable

Constructor Summary

AccessConstructor and Description
public
ClassLocatable(Locatable upstream, C clazz, Navigator<?, C, ?, ?> nav)

Method Summary

Modifier and TypeMethod and Description
public Location
getLocation()

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

Gets the location object that this object points to.

public Locatable
Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

clazzback to summary
private final C clazz
upstreamback to summary
private final Locatable upstream

Constructor Detail

ClassLocatableback to summary
public ClassLocatable(Locatable upstream, C clazz, Navigator<?, C, ?, ?> nav)

Method Detail

getLocationback to summary
public 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 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