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

public Class FieldLocatable<F>

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 field.
Author
Kohsuke Kawaguchi

Field Summary

Modifier and TypeField and Description
private final F
private final Locatable

Constructor Summary

AccessConstructor and Description
public
FieldLocatable(Locatable upstream, F field, Navigator<?, ?, F, ?> 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

fieldback to summary
private final F field
upstreamback to summary
private final Locatable upstream

Constructor Detail

FieldLocatableback to summary
public FieldLocatable(Locatable upstream, F field, Navigator<?, ?, F, ?> 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