com.sun.xml.bind.v2.model.impl
Class RuntimeAttributePropertyInfoImpl
java.lang.Object
com.sun.xml.bind.v2.model.impl.PropertyInfoImpl<T,C,F,M>
com.sun.xml.bind.v2.model.impl.SingleTypePropertyInfoImpl<TypeT,ClassDeclT,FieldT,MethodT>
com.sun.xml.bind.v2.model.impl.AttributePropertyInfoImpl<Type,Class,Field,Method>
com.sun.xml.bind.v2.model.impl.RuntimeAttributePropertyInfoImpl
- All Implemented Interfaces:
- AnnotationSource, Locatable, AttributePropertyInfo<Type,Class>, NonElementRef<Type,Class>, PropertyInfo<Type,Class>, RuntimeAttributePropertyInfo, RuntimeNonElementRef, RuntimePropertyInfo, Comparable<PropertyInfoImpl>
class RuntimeAttributePropertyInfoImpl
- extends AttributePropertyInfoImpl<Type,Class,Field,Method>
- implements RuntimeAttributePropertyInfo
Methods inherited from class com.sun.xml.bind.v2.model.impl.PropertyInfoImpl |
calcXmlName, calcXmlName, compareTo, displayName, getAdapter, getExpectedMimeType, getIndividualType, getLocation, getName, getRawType, getSchemaType, getUpstream, hasAnnotation, id, inlineBinaryData, isCollection, nav, parent, readAnnotation, reader |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
RuntimeAttributePropertyInfoImpl
RuntimeAttributePropertyInfoImpl(RuntimeClassInfoImpl classInfo,
PropertySeed<Type,Class,Field,Method> seed)
elementOnlyContent
public boolean elementOnlyContent()
- Description copied from interface:
RuntimePropertyInfo
- Returns true if this property has an element-only content. False otherwise.
- Specified by:
elementOnlyContent
in interface RuntimePropertyInfo
getTarget
public RuntimeNonElement getTarget()
- Description copied from interface:
AttributePropertyInfo
- Gets the type of the attribute.
Note that when this property is a collection, this method returns
the type of each item in the collection.
- Specified by:
getTarget
in interface AttributePropertyInfo<Type,Class>
- Specified by:
getTarget
in interface NonElementRef<Type,Class>
- Specified by:
getTarget
in interface RuntimeAttributePropertyInfo
- Specified by:
getTarget
in interface RuntimeNonElementRef
- Overrides:
getTarget
in class SingleTypePropertyInfoImpl<Type,Class,Field,Method>
- Returns:
- always non-null.
ref
public List<? extends RuntimeNonElement> ref()
- Description copied from interface:
PropertyInfo
- List of
TypeInfo
s that this property references.
This allows the caller to traverse the reference graph without
getting into the details of each different property type.
- Specified by:
ref
in interface PropertyInfo<Type,Class>
- Specified by:
ref
in interface RuntimePropertyInfo
- Overrides:
ref
in class SingleTypePropertyInfoImpl<Type,Class,Field,Method>
- Returns:
- non-null read-only collection.
getSource
public RuntimePropertyInfo getSource()
- Description copied from interface:
NonElementRef
- Gets the property which is the source of this reference.
- Specified by:
getSource
in interface NonElementRef<Type,Class>
- Specified by:
getSource
in interface RuntimeNonElementRef
- Overrides:
getSource
in class SingleTypePropertyInfoImpl<Type,Class,Field,Method>
- Returns:
- never null
link
public void link()
- Description copied from class:
PropertyInfoImpl
- Called after all the
TypeInfo
s are collected into the governing TypeInfoSet
.
Derived class can do additional actions to complete the model.
- Overrides:
link
in class SingleTypePropertyInfoImpl<Type,Class,Field,Method>