com.sun.xml.bind.v2.model.runtime
Interface RuntimeArrayInfo

All Superinterfaces:
ArrayInfo<java.lang.reflect.Type,java.lang.Class>, Locatable, NonElement<java.lang.reflect.Type,java.lang.Class>, RuntimeNonElement, RuntimeTypeInfo, TypeInfo<java.lang.reflect.Type,java.lang.Class>
All Known Implementing Classes:
RuntimeArrayInfoImpl

public interface RuntimeArrayInfo
extends ArrayInfo<java.lang.reflect.Type,java.lang.Class>, RuntimeNonElement


Method Summary
 RuntimeNonElement getItemType()
          T of T[].
 java.lang.Class getType()
          Represents T[].
 
Methods inherited from interface com.sun.xml.bind.v2.model.core.NonElement
getTypeName, isSimpleType
 
Methods inherited from interface com.sun.xml.bind.v2.model.core.TypeInfo
canBeReferencedByIDREF
 
Methods inherited from interface com.sun.xml.bind.v2.model.annotation.Locatable
getLocation, getUpstream
 
Methods inherited from interface com.sun.xml.bind.v2.model.runtime.RuntimeNonElement
getTransducer
 
Methods inherited from interface com.sun.xml.bind.v2.model.core.NonElement
getTypeName, isSimpleType
 
Methods inherited from interface com.sun.xml.bind.v2.model.core.TypeInfo
canBeReferencedByIDREF
 
Methods inherited from interface com.sun.xml.bind.v2.model.annotation.Locatable
getLocation, getUpstream
 
Methods inherited from interface com.sun.xml.bind.v2.model.core.TypeInfo
canBeReferencedByIDREF
 
Methods inherited from interface com.sun.xml.bind.v2.model.annotation.Locatable
getLocation, getUpstream
 

Method Detail

getType

java.lang.Class getType()
Represents T[]. The same as TypeInfo.getType() but at the runtime, an array is guaranteed to have a Class representation, not just any Type.

Specified by:
getType in interface TypeInfo<java.lang.reflect.Type,java.lang.Class>
Returns:
always non-null.

getItemType

RuntimeNonElement getItemType()
T of T[]. The type of the items of the array.

Specified by:
getItemType in interface ArrayInfo<java.lang.reflect.Type,java.lang.Class>
Returns:
never null