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.
getItemType
NonElement<T,C> getItemType()
- T of T[]. The type of the items of the array.
- Returns:
- never null