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<java.lang.reflect.Type,java.lang.Class,java.lang.reflect.Field,java.lang.reflect.Method>
com.sun.xml.bind.v2.model.impl.RuntimeAttributePropertyInfoImpl
- All Implemented Interfaces:
- AnnotationSource, Locatable, AttributePropertyInfo<java.lang.reflect.Type,java.lang.Class>, NonElementRef<java.lang.reflect.Type,java.lang.Class>, PropertyInfo<java.lang.reflect.Type,java.lang.Class>, RuntimeAttributePropertyInfo, RuntimeNonElementRef, RuntimePropertyInfo, java.lang.Comparable<PropertyInfoImpl>
class RuntimeAttributePropertyInfoImpl
- extends AttributePropertyInfoImpl<java.lang.reflect.Type,java.lang.Class,java.lang.reflect.Field,java.lang.reflect.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<java.lang.reflect.Type,java.lang.Class,java.lang.reflect.Field,java.lang.reflect.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<java.lang.reflect.Type,java.lang.Class>- Specified by:
getTarget in interface NonElementRef<java.lang.reflect.Type,java.lang.Class>- Specified by:
getTarget in interface RuntimeAttributePropertyInfo- Specified by:
getTarget in interface RuntimeNonElementRef- Overrides:
getTarget in class SingleTypePropertyInfoImpl<java.lang.reflect.Type,java.lang.Class,java.lang.reflect.Field,java.lang.reflect.Method>
- Returns:
- always non-null.
ref
public java.util.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<java.lang.reflect.Type,java.lang.Class>- Specified by:
ref in interface RuntimePropertyInfo- Overrides:
ref in class SingleTypePropertyInfoImpl<java.lang.reflect.Type,java.lang.Class,java.lang.reflect.Field,java.lang.reflect.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<java.lang.reflect.Type,java.lang.Class>- Specified by:
getSource in interface RuntimeNonElementRef- Overrides:
getSource in class SingleTypePropertyInfoImpl<java.lang.reflect.Type,java.lang.Class,java.lang.reflect.Field,java.lang.reflect.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<java.lang.reflect.Type,java.lang.Class,java.lang.reflect.Field,java.lang.reflect.Method>