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

pack-priv Class RuntimeMapPropertyInfoImpl

extends MapPropertyInfoImpl<Type, Class<T>, Field, Method>
implements RuntimeMapPropertyInfo
Class Inheritance
All Implemented Interfaces
org.glassfish.jaxb.runtime.v2.model.runtime.RuntimeMapPropertyInfo, org.glassfish.jaxb.core.v2.model.core.MapPropertyInfo, org.glassfish.jaxb.core.v2.model.core.PropertyInfo, org.glassfish.jaxb.core.v2.model.annotation.AnnotationSource, org.glassfish.jaxb.runtime.v2.model.runtime.RuntimePropertyInfo
Imports
org.glassfish.jaxb.runtime.v2.model.runtime.RuntimeMapPropertyInfo, .RuntimeNonElement, .RuntimeTypeInfo, org.glassfish.jaxb.runtime.v2.runtime.reflect.Accessor, java.lang.reflect.Field, .Method, .Type, java.util.List

Author
Kohsuke Kawaguchi

Field Summary

Modifier and TypeField and Description
private final Accessor<BeanT, ValueT>

Constructor Summary

AccessConstructor and Description
pack-priv

Method Summary

Modifier and TypeMethod and Description
public boolean
elementOnlyContent()

Implements org.glassfish.jaxb.runtime.v2.model.runtime.RuntimePropertyInfo.elementOnlyContent.

Returns true if this property has an element-only content.

public Accessor<BeanT, ValueT>
public RuntimeNonElement
public RuntimeNonElement
public List<? extends RuntimeTypeInfo>
Inherited from org.glassfish.jaxb.runtime.v2.model.impl.MapPropertyInfoImpl:
getTargetgetXmlNameisCollectionNillablekind

Field Detail

accback to summary
private final Accessor<BeanT, ValueT> acc

Constructor Detail

RuntimeMapPropertyInfoImplback to summary
pack-priv RuntimeMapPropertyInfoImpl(RuntimeClassInfoImpl classInfo, PropertySeed<Type, Class<T>, Field, Method> seed)

Method Detail

elementOnlyContentback to summary
public boolean elementOnlyContent()

Implements org.glassfish.jaxb.runtime.v2.model.runtime.RuntimePropertyInfo.elementOnlyContent.

Doc from org.glassfish.jaxb.runtime.v2.model.runtime.RuntimePropertyInfo.elementOnlyContent.

Returns true if this property has an element-only content. False otherwise.

Annotations
@Override
getAccessorback to summary
public Accessor<BeanT, ValueT> getAccessor()

Implements org.glassfish.jaxb.runtime.v2.model.runtime.RuntimePropertyInfo.getAccessor.

Doc from org.glassfish.jaxb.runtime.v2.model.runtime.RuntimePropertyInfo.getAccessor.

Gets the Accessor for this property.

Even for a multi-value property, this method returns an accessor to that property. IOW, the accessor works against the raw type.

This methods returns unoptimized accessor (because optimization accessors are often combined into bigger pieces, and optimization generally works better if you can look at a bigger piece, as opposed to individually optimize a smaller components)

Annotations
@Override
getKeyTypeback to summary
public RuntimeNonElement getKeyType()

Overrides org.glassfish.jaxb.runtime.v2.model.impl.MapPropertyInfoImpl.getKeyType.

Implements org.glassfish.jaxb.runtime.v2.model.runtime.RuntimeMapPropertyInfo.getKeyType, 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
getValueTypeback to summary
public RuntimeNonElement getValueType()

Overrides org.glassfish.jaxb.runtime.v2.model.impl.MapPropertyInfoImpl.getValueType.

Implements org.glassfish.jaxb.runtime.v2.model.runtime.RuntimeMapPropertyInfo.getValueType, 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
refback to summary
public List<? extends RuntimeTypeInfo> ref()

Overrides org.glassfish.jaxb.runtime.v2.model.impl.MapPropertyInfoImpl.ref.

Implements org.glassfish.jaxb.runtime.v2.model.runtime.RuntimePropertyInfo.ref, 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
@SuppressWarnings:unchecked