com.groupdocs.metadata

Interfaces

Classes

Exceptions

com.groupdocs.metadata

Class XmpArrayBase<T>

  • All Implemented Interfaces:
    IXmlValue
    Direct Known Subclasses:
    XmpArray


    public class XmpArrayBase<T>
    extends XmpValueBase
    implements IXmlValue

    Represents base abstraction for XMP array.

    T: Type of array.

    • Constructor Detail

      • XmpArrayBase

        public XmpArrayBase(int type,
                    T[] items)

        Initializes a new instance of the XmpArray class.

        Parameters:
        type - Array type.
        items - Array items.
    • Method Detail

      • getValues

        public final T[] getValues()

        Gets array of values inside XmpArray.

      • addItem

        public void addItem(T item)

        Adds new item to the array.

        Parameters:
        item - Adding item.
      • getXmlValue

        public String getXmlValue()

        Converts XMP value to the xml representation.

        Specified by:
        getXmlValue in interface IXmlValue
        Returns:
        Returns string representation of XMP value.
      • toString

        public String toString()

        Returns a System.String that represents this instance.

        Overrides:
        toString in class XmpValueBase
        Returns:
        A System.String that represents this instance.