Packages

 

com.aspose.cad.xmp

Class XmpArray

  • All Implemented Interfaces:
    IXmlValue


    public class XmpArray
    extends Object
    implements IXmlValue

    Represents Xmp Array in XmpPackage. todo: Array may contain complex data.

    • Constructor Detail

      • XmpArray

        public XmpArray(int type,
                String[] items)

        Initializes a new instance of the XmpArray class.

        Parameters:
        type - The type of array.
        items - The items list.
      • XmpArray

        public XmpArray(int type)

        Initializes a new instance of the XmpArray class.

        Parameters:
        type - The type of array.
    • Method Detail

      • addItem

        public void addItem(String item)

        Adds new item.

        Parameters:
        item - The item to be added to list of items.
      • getXmlValue

        public String getXmlValue()

        Converts XMP value to the XML representation.

        Specified by:
        getXmlValue in interface IXmlValue
        Returns:
        Returns the XMP value converted to the XML representation.
      • toString

        public String toString()

        Returns a System.String that represents this instance.

        Overrides:
        toString in class Object
        Returns:
        A System.String that represents this instance.
      • getValues

        public String[] getValues()

        Gets array of values inside XmpArray.