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

pack-priv final Class RegistryInfoImpl<T, C, F, M>

extends Object
implements Locatable, RegistryInfo<T, C>
Class Inheritance
All Implemented Interfaces
org.glassfish.jaxb.core.v2.model.core.RegistryInfo, org.glassfish.jaxb.core.v2.model.annotation.Locatable
Imports
org.glassfish.jaxb.runtime.v2.ContextFactory, org.glassfish.jaxb.core.v2.model.annotation.Locatable, org.glassfish.jaxb.runtime.v2.model.annotation.MethodLocatable, org.glassfish.jaxb.core.v2.model.core.RegistryInfo, .TypeInfo, org.glassfish.jaxb.core.v2.model.nav.Navigator, org.glassfish.jaxb.core.v2.runtime.IllegalAnnotationException, .Location, jakarta.xml.bind.annotation.XmlElementDecl, java.util.LinkedHashSet, .Set

Implementation of RegistryInfo.
Author
Kohsuke Kawaguchi

Field Summary

Modifier and TypeField and Description
private final Set<TypeInfo<T, C>>
references

Types that are referenced from this registry.

pack-priv final C
private final Locatable

Constructor Summary

AccessConstructor and Description
pack-priv
RegistryInfoImpl(ModelBuilder<T, C, F, M> builder, Locatable upstream, C registryClass)

Picks up references in this registry to other types.

Method Summary

Modifier and TypeMethod and Description
public C
public Location
getLocation()

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

Gets the location object that this object points to.

public String
getPackageName()

Gets the name of the package that this registry governs.

public Set<TypeInfo<T, C>>
getReferences()

Implements org.glassfish.jaxb.core.v2.model.core.RegistryInfo.getReferences.

Returns all the references to other types in this registry.

public Locatable
Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

referencesback to summary
private final Set<TypeInfo<T, C>> references

Types that are referenced from this registry.

registryClassback to summary
pack-priv final C registryClass
upstreamback to summary
private final Locatable upstream

Constructor Detail

RegistryInfoImplback to summary
pack-priv RegistryInfoImpl(ModelBuilder<T, C, F, M> builder, Locatable upstream, C registryClass)

Picks up references in this registry to other types.

Method Detail

getClazzback to summary
public C getClazz()

Implements org.glassfish.jaxb.core.v2.model.core.RegistryInfo.getClazz.

Doc from org.glassfish.jaxb.core.v2.model.core.RegistryInfo.getClazz.

Returns the class with XmlRegistry.

Annotations
@Override
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
getPackageNameback to summary
public String getPackageName()

Gets the name of the package that this registry governs.

getReferencesback to summary
public Set<TypeInfo<T, C>> getReferences()

Implements org.glassfish.jaxb.core.v2.model.core.RegistryInfo.getReferences.

Doc from org.glassfish.jaxb.core.v2.model.core.RegistryInfo.getReferences.

Returns all the references to other types in this registry.

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