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 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.

    Author:
    Kohsuke Kawaguchi
    • Method Detail

      • getItemType

        NonElement<T,​C> getItemType()
        T of T[]. The type of the items of the array.
        Returns:
        never null