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

Class ElementInfoImpl.PropertyImpl

protected class ElementInfoImpl.PropertyImpl extends Object implements ElementPropertyInfo<T,C>, TypeRef<T,C>, AnnotationSource

Singleton instance of ElementPropertyInfo for this element.
Method Summary
StringdisplayName()
Adapter<T,C>getAdapter()
StringgetDefaultValue()
MimeTypegetExpectedMimeType()
StringgetName()
QNamegetSchemaType()
PropertyInfo<T,C>getSource()
QNamegetTagName()
NonElement<T,C>getTarget()
List<? extends TypeRef<T,C>>getTypes()
QNamegetXmlName()
booleanhasAnnotation(Class<? extends Annotation> annotationType)
IDid()
booleaninlineBinaryData()
booleanisCollection()
booleanisCollectionNillable()
booleanisCollectionRequired()
booleanisNillable()
booleanisRequired()
booleanisValueList()
For ElementInfos, a collection always means a list of values.
PropertyKindkind()
ElementInfoImpl<T,C,F,M>parent()
<A extends Annotation> AreadAnnotation(Class<A> annotationType)
List<? extends NonElement<T,C>>ref()

Method Detail

displayName

public String displayName()

getAdapter

public Adapter<T,C> getAdapter()

getDefaultValue

public String getDefaultValue()

getExpectedMimeType

public MimeType getExpectedMimeType()

getName

public String getName()

getSchemaType

public QName getSchemaType()

getSource

public PropertyInfo<T,C> getSource()

getTagName

public QName getTagName()

getTarget

public NonElement<T,C> getTarget()

getTypes

public List<? extends TypeRef<T,C>> getTypes()

getXmlName

public QName getXmlName()

hasAnnotation

public boolean hasAnnotation(Class<? extends Annotation> annotationType)

id

public ID id()

inlineBinaryData

public boolean inlineBinaryData()

isCollection

public boolean isCollection()

isCollectionNillable

public boolean isCollectionNillable()

isCollectionRequired

public boolean isCollectionRequired()

isNillable

public boolean isNillable()

isRequired

public boolean isRequired()

isValueList

public boolean isValueList()
For ElementInfos, a collection always means a list of values.

kind

public PropertyKind kind()

parent

public ElementInfoImpl<T,C,F,M> parent()

readAnnotation

public <A extends Annotation> A readAnnotation(Class<A> annotationType)

ref

public List<? extends NonElement<T,C>> ref()