XmpArray
Contents
[
Hide
]Inheritance: java.lang.Object
All Implemented Interfaces: com.aspose.imaging.xmp.IXmlValue
public class XmpArray implements IXmlValue
Represents Xmp Array in XmpPackage
. todo: Array may contain complex data.
Constructors
Constructor | Description |
---|---|
XmpArray(int type, String[] items) | Initializes a new instance of the XmpArray class. |
XmpArray(int type) | Initializes a new instance of the XmpArray class. |
Methods
Method | Description |
---|---|
addItem(String item) | Adds new item. |
getXmlValue() | Converts XMP value to the XML representation. |
toString() | Returns a System.String that represents this instance. |
getValues() | Gets array of values inside XmpArray . |
XmpArray(int type, String[] items)
public XmpArray(int type, String[] items)
Initializes a new instance of the XmpArray
class.
Parameters:
Parameter | Type | Description |
---|---|---|
type | int | The type of array. |
items | java.lang.String[] | The items list. |
XmpArray(int type)
public XmpArray(int type)
Initializes a new instance of the XmpArray
class.
Parameters:
Parameter | Type | Description |
---|---|---|
type | int | The type of array. |
addItem(String item)
public void addItem(String item)
Adds new item.
Parameters:
Parameter | Type | Description |
---|---|---|
item | java.lang.String | The item to be added to list of items. |
getXmlValue()
public String getXmlValue()
Converts XMP value to the XML representation.
Returns: java.lang.String - Returns the XMP value converted to the XML representation.
toString()
public String toString()
Returns a System.String
that represents this instance.
Returns:
java.lang.String - A System.String
that represents this instance.
getValues()
public String[] getValues()
Gets array of values inside XmpArray
.
Returns: java.lang.String[]