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

Class ArrayInfoImpl<TypeT,ClassDeclT,FieldT,MethodT>

public class ArrayInfoImpl<TypeT,ClassDeclT,FieldT,MethodT> extends TypeInfoImpl<TypeT,ClassDeclT,FieldT,MethodT> implements ArrayInfo<TypeT,ClassDeclT>, Location

Public because XJC needs to access it

Constructor Summary
ArrayInfoImpl(ModelBuilder<TypeT,ClassDeclT,FieldT,MethodT> builder, Locatable upstream, TypeT arrayType)
Method Summary
static QNamecalcArrayTypeName(QName n)
Computes the type name of the array from that of the item type.
booleancanBeReferencedByIDREF()
Leaf-type cannot be referenced from IDREF.
NonElement<TypeT,ClassDeclT>getItemType()
LocationgetLocation()
TypeTgetType()
QNamegetTypeName()
booleanisSimpleType()
StringtoString()

Constructor Detail

ArrayInfoImpl

public ArrayInfoImpl(ModelBuilder<TypeT,ClassDeclT,FieldT,MethodT> builder, Locatable upstream, TypeT arrayType)

Method Detail

calcArrayTypeName

public static QName calcArrayTypeName(QName n)
Computes the type name of the array from that of the item type.

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.

getItemType

public NonElement<TypeT,ClassDeclT> getItemType()

getLocation

public Location getLocation()

getType

public TypeT getType()

getTypeName

public QName getTypeName()

isSimpleType

public boolean isSimpleType()

toString

public String toString()