Package 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
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 enclodingClassInfo
.)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.
- Author:
- Kohsuke Kawaguchi
-
-
Field Summary
-
Fields inherited from interface com.sun.xml.bind.v2.model.core.NonElement
ANYTYPE_NAME
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description NonElement<T,C>
getItemType()
T of T[].-
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.NonElement
getTypeName, isSimpleType
-
Methods inherited from interface com.sun.xml.bind.v2.model.core.TypeInfo
canBeReferencedByIDREF, getType
-
-
-
-
Method Detail
-
getItemType
NonElement<T,C> getItemType()
T of T[]. The type of the items of the array.- Returns:
- never null
-
-