com.sun.xml.bind.v2.model.impl
Class RuntimeValuePropertyInfoImpl
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.ValuePropertyInfoImpl<java.lang.reflect.Type,java.lang.Class,java.lang.reflect.Field,java.lang.reflect.Method>
com.sun.xml.bind.v2.model.impl.RuntimeValuePropertyInfoImpl
- All Implemented Interfaces:
- AnnotationSource, Locatable, NonElementRef<java.lang.reflect.Type,java.lang.Class>, PropertyInfo<java.lang.reflect.Type,java.lang.Class>, ValuePropertyInfo<java.lang.reflect.Type,java.lang.Class>, RuntimeNonElementRef, RuntimePropertyInfo, RuntimeValuePropertyInfo, java.lang.Comparable<PropertyInfoImpl>
final class RuntimeValuePropertyInfoImpl
- extends ValuePropertyInfoImpl<java.lang.reflect.Type,java.lang.Class,java.lang.reflect.Field,java.lang.reflect.Method>
- implements RuntimeValuePropertyInfo
| 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 |
RuntimeValuePropertyInfoImpl
RuntimeValuePropertyInfoImpl(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
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
getTarget
public RuntimeNonElement getTarget()
- Description copied from interface:
NonElementRef
- Target of the reference.
- Specified by:
getTarget in interface NonElementRef<java.lang.reflect.Type,java.lang.Class>- Specified by:
getTarget in interface RuntimeNonElementRef- Specified by:
getTarget in interface RuntimeValuePropertyInfo- Overrides:
getTarget in class SingleTypePropertyInfoImpl<java.lang.reflect.Type,java.lang.Class,java.lang.reflect.Field,java.lang.reflect.Method>
- Returns:
- never 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.
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>