com.sun.xml.bind.v2.model.core
Interface ArrayInfo<T,C>

All Superinterfaces:
Locatable, NonElement<T,C>, TypeInfo<T,C>
All Known Subinterfaces:
RuntimeArrayInfo
All Known Implementing Classes:
ArrayInfoImpl, CArrayInfo, RuntimeArrayInfoImpl

public interface ArrayInfo<T,C>
extends NonElement<T,C>

Stand-alone array that can be marshalled/unmarshalled on its own (without being part of any encloding ClassInfo.)

Most of the times arrays are treated as properties of their enclosing classes, but sometimes we do need to map an array class to its own XML type. This object is used for that purpose.


Field Summary
 
Fields inherited from interface com.sun.xml.bind.v2.model.core.NonElement
ANYTYPE_NAME
 
Method Summary
 NonElement<T,C> getItemType()
          T of 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, getType
 
Methods inherited from interface com.sun.xml.bind.v2.model.annotation.Locatable
getLocation, getUpstream
 

Method Detail

getItemType

NonElement<T,C> getItemType()
T of T[]. The type of the items of the array.

Returns:
never null