com.sun.xml.bind.v2.model.impl
Class RuntimeAttributePropertyInfoImpl

java.lang.Object
  extended by com.sun.xml.bind.v2.model.impl.PropertyInfoImpl<T,C,F,M>
      extended by com.sun.xml.bind.v2.model.impl.SingleTypePropertyInfoImpl<TypeT,ClassDeclT,FieldT,MethodT>
          extended by com.sun.xml.bind.v2.model.impl.AttributePropertyInfoImpl<Type,Class,Field,Method>
              extended by 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


Field Summary
 
Fields inherited from class com.sun.xml.bind.v2.model.impl.PropertyInfoImpl
parent, seed
 
Constructor Summary
RuntimeAttributePropertyInfoImpl(RuntimeClassInfoImpl classInfo, PropertySeed<Type,Class,Field,Method> seed)
           
 
Method Summary
 boolean elementOnlyContent()
          Returns true if this property has an element-only content.
 RuntimePropertyInfo getSource()
          Gets the property which is the source of this reference.
 RuntimeNonElement getTarget()
          Gets the type of the attribute.
 void link()
          Called after all the TypeInfos are collected into the governing TypeInfoSet.
 List<? extends RuntimeNonElement> ref()
          List of TypeInfos that this property references.
 
Methods inherited from class com.sun.xml.bind.v2.model.impl.AttributePropertyInfoImpl
getXmlName, isRequired, kind
 
Methods inherited from class com.sun.xml.bind.v2.model.impl.SingleTypePropertyInfoImpl
getAccessor, getTransducer
 
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
 
Methods inherited from interface com.sun.xml.bind.v2.model.core.AttributePropertyInfo
getAdapter, getXmlName, isRequired
 
Methods inherited from interface com.sun.xml.bind.v2.model.runtime.RuntimePropertyInfo
getAccessor, getIndividualType, getRawType
 
Methods inherited from interface com.sun.xml.bind.v2.model.core.PropertyInfo
displayName, getExpectedMimeType, getName, getSchemaType, id, inlineBinaryData, isCollection, kind, parent
 
Methods inherited from interface com.sun.xml.bind.v2.model.annotation.AnnotationSource
hasAnnotation, readAnnotation
 
Methods inherited from interface com.sun.xml.bind.v2.model.runtime.RuntimeNonElementRef
getTransducer
 

Constructor Detail

RuntimeAttributePropertyInfoImpl

RuntimeAttributePropertyInfoImpl(RuntimeClassInfoImpl classInfo,
                                 PropertySeed<Type,Class,Field,Method> seed)
Method Detail

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 TypeInfos 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 TypeInfos 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>