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

Class ElementInfoImpl<T,C,F,M>

class ElementInfoImpl<T,C,F,M> extends TypeInfoImpl<T,C,F,M> implements ElementInfo<T,C>

ElementInfo implementation.
Nested Class Summary
protected classElementInfoImpl.PropertyImpl
Singleton instance of ElementPropertyInfo for this element.
Constructor Summary
ElementInfoImpl(ModelBuilder<T,C,F,M> builder, RegistryInfoImpl<T,C,F,M> registry, M m)
Method Summary
booleancanBeReferencedByIDREF()
Leaf-type cannot be referenced from IDREF.
protected ElementInfoImpl.PropertyImplcreatePropertyImpl()
TgetContentInMemoryType()
NonElement<T,C>getContentType()
QNamegetElementName()
LocationgetLocation()
ElementPropertyInfo<T,C>getProperty()
ClassInfo<T,C>getScope()
ElementInfo<T,C>getSubstitutionHead()
Collection<? extends ElementInfoImpl<T,C,F,M>>getSubstitutionMembers()
TgetType()
voidlink()
Called after all the TypeInfos are collected into the ElementInfoImpl.
QNameparseElementName(XmlElementDecl e)

Constructor Detail

ElementInfoImpl

public ElementInfoImpl(ModelBuilder<T,C,F,M> builder, RegistryInfoImpl<T,C,F,M> registry, M m)

Parameters: m The factory method on ObjectFactory that comes with XmlElementDecl.

Method Detail

canBeReferencedByIDREF

public final boolean canBeReferencedByIDREF()

Deprecated: why are you calling a method whose return value is always known?

Leaf-type cannot be referenced from IDREF.

createPropertyImpl

protected ElementInfoImpl.PropertyImpl createPropertyImpl()

getContentInMemoryType

public T getContentInMemoryType()

getContentType

public NonElement<T,C> getContentType()

getElementName

public QName getElementName()

getLocation

public Location getLocation()

getProperty

public ElementPropertyInfo<T,C> getProperty()

getScope

public ClassInfo<T,C> getScope()

getSubstitutionHead

public ElementInfo<T,C> getSubstitutionHead()

getSubstitutionMembers

public Collection<? extends ElementInfoImpl<T,C,F,M>> getSubstitutionMembers()

getType

public T getType()

link

void link()
Called after all the TypeInfos are collected into the ElementInfoImpl.

parseElementName

final QName parseElementName(XmlElementDecl e)