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

pack-priv Class MapPropertyInfoImpl<T, C, F, M>

extends PropertyInfoImpl<T, C, F, M>
implements MapPropertyInfo<T, C>
Class Inheritance
All Implemented Interfaces
org.glassfish.jaxb.core.v2.model.core.MapPropertyInfo, org.glassfish.jaxb.core.v2.model.core.PropertyInfo, org.glassfish.jaxb.core.v2.model.annotation.AnnotationSource
Known Direct Subclasses
org.glassfish.jaxb.runtime.v2.model.impl.RuntimeMapPropertyInfoImpl
Imports
org.glassfish.jaxb.core.v2.model.core.MapPropertyInfo, .NonElement, .PropertyKind, .TypeInfo, jakarta.xml.bind.annotation.XmlElementWrapper, javax.xml.namespace.QName, java.util.Arrays, .Collection, .Map

Author
Kohsuke Kawaguchi

Field Summary

Modifier and TypeField and Description
private final T
private NonElement<T, C>
private boolean
private final T
private NonElement<T, C>
private final QName
Inherited from org.glassfish.jaxb.runtime.v2.model.impl.PropertyInfoImpl:
parentseed

Constructor Summary

AccessConstructor and Description
public
MapPropertyInfoImpl(ClassInfoImpl<T, C, F, M> ci, PropertySeed<T, C, F, M> seed)

Method Summary

Modifier and TypeMethod and Description
public NonElement<T, C>
public NonElement<T, C>
getTarget(T type)

public NonElement<T, C>
public QName
public boolean
isCollectionNillable()

Implements org.glassfish.jaxb.core.v2.model.core.MapPropertyInfo.isCollectionNillable.

Returns true if this property is nillable (meaning the absence of the value is treated as nil='true')

This method is only used when this property is a collection.

public final PropertyKind
kind()

Implements org.glassfish.jaxb.core.v2.model.core.PropertyInfo.kind.

Gets the kind of this property.

public Collection<? extends TypeInfo<T, C>>
ref()

Implements org.glassfish.jaxb.core.v2.model.core.PropertyInfo.ref.

List of TypeInfos that this property references.

Inherited from org.glassfish.jaxb.runtime.v2.model.impl.PropertyInfoImpl:
calcXmlNamecalcXmlNamecompareTodisplayNamegetAdaptergetExpectedMimeTypegetIndividualTypegetLocationgetNamegetRawTypegetSchemaTypegetUpstreamhasAnnotationidinlineBinaryDataisCollectionlinknavparentreadAnnotationreader

Field Detail

keyTypeback to summary
private final T keyType
keyTypeInfoback to summary
private NonElement<T, C> keyTypeInfo
nilback to summary
private boolean nil
valueTypeback to summary
private final T valueType
valueTypeInfoback to summary
private NonElement<T, C> valueTypeInfo
xmlNameback to summary
private final QName xmlName

Constructor Detail

MapPropertyInfoImplback to summary
public MapPropertyInfoImpl(ClassInfoImpl<T, C, F, M> ci, PropertySeed<T, C, F, M> seed)

Method Detail

getKeyTypeback to summary
public NonElement<T, C> getKeyType()

Implements org.glassfish.jaxb.core.v2.model.core.MapPropertyInfo.getKeyType.

Doc from org.glassfish.jaxb.core.v2.model.core.MapPropertyInfo.getKeyType.

Type of the key of the map. K of HashMap<K,V>

Annotations
@Override
getTargetback to summary
public NonElement<T, C> getTarget(T type)
getValueTypeback to summary
public NonElement<T, C> getValueType()

Implements org.glassfish.jaxb.core.v2.model.core.MapPropertyInfo.getValueType.

Doc from org.glassfish.jaxb.core.v2.model.core.MapPropertyInfo.getValueType.

Type of the value of the map. V of HashMap<K,V>

Annotations
@Override
getXmlNameback to summary
public QName getXmlName()

Implements org.glassfish.jaxb.core.v2.model.core.MapPropertyInfo.getXmlName.

Doc from org.glassfish.jaxb.core.v2.model.core.MapPropertyInfo.getXmlName.

Gets the wrapper element name.

Annotations
@Override
isCollectionNillableback to summary
public boolean isCollectionNillable()

Implements org.glassfish.jaxb.core.v2.model.core.MapPropertyInfo.isCollectionNillable.

Doc from org.glassfish.jaxb.core.v2.model.core.MapPropertyInfo.isCollectionNillable.

Returns true if this property is nillable (meaning the absence of the value is treated as nil='true')

This method is only used when this property is a collection.

Annotations
@Override
kindback to summary
public final PropertyKind kind()

Implements org.glassfish.jaxb.core.v2.model.core.PropertyInfo.kind.

Doc from org.glassfish.jaxb.core.v2.model.core.PropertyInfo.kind.

Gets the kind of this property.

Annotations
@Override
refback to summary
public Collection<? extends TypeInfo<T, C>> ref()

Implements org.glassfish.jaxb.core.v2.model.core.PropertyInfo.ref.

Doc from org.glassfish.jaxb.core.v2.model.core.PropertyInfo.ref.

List of TypeInfos that this property references. This allows the caller to traverse the reference graph without getting into the details of each different property type.

Annotations
@Override