com.itextpdf.text.xml.xmp
Class XmpArray
java.lang.Object
java.util.AbstractCollection<E>
java.util.AbstractList<E>
java.util.ArrayList<String>
com.itextpdf.text.xml.xmp.XmpArray
- All Implemented Interfaces:
- Serializable, Cloneable, Iterable<String>, Collection<String>, List<String>, RandomAccess
public class XmpArray
- extends ArrayList<String>
StringBuffer to construct an XMP array.
- See Also:
- Serialized Form
Method Summary |
String |
toString()
Returns the String representation of the XmpArray. |
Methods inherited from class java.util.ArrayList |
add, add, addAll, addAll, clear, clone, contains, ensureCapacity, get, indexOf, isEmpty, lastIndexOf, remove, remove, removeRange, set, size, toArray, toArray, trimToSize |
UNORDERED
public static final String UNORDERED
- An array that is unordered.
- See Also:
- Constant Field Values
ORDERED
public static final String ORDERED
- An array that is ordered.
- See Also:
- Constant Field Values
ALTERNATIVE
public static final String ALTERNATIVE
- An array with alternatives.
- See Also:
- Constant Field Values
type
protected String type
- the type of array.
XmpArray
public XmpArray(String type)
- Creates an XmpArray.
- Parameters:
type
- the type of array: UNORDERED, ORDERED or ALTERNATIVE.
toString
public String toString()
- Returns the String representation of the XmpArray.
- Overrides:
toString
in class AbstractCollection<String>
- Returns:
- a String representation
Copyright © 2013. All Rights Reserved.