- java.lang.Object
-
- java.util.AbstractCollection<E>
-
- java.util.AbstractList<E>
-
- java.util.ArrayList<String>
-
- com.lowagie.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
-
-
Field Summary
Fields Modifier and Type Field Description static StringALTERNATIVEAn array with alternatives.static StringORDEREDAn array that is ordered.protected Stringtypethe type of array.static StringUNORDEREDAn array that is unordered.-
Fields inherited from class java.util.AbstractList
modCount
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringtoString()Returns the String representation of the XmpArray.-
Methods inherited from class java.util.ArrayList
add, add, addAll, addAll, clear, clone, contains, ensureCapacity, equals, forEach, get, hashCode, indexOf, isEmpty, iterator, lastIndexOf, listIterator, listIterator, remove, remove, removeAll, removeIf, removeRange, replaceAll, retainAll, set, size, sort, spliterator, subList, toArray, toArray, trimToSize
-
Methods inherited from class java.util.AbstractCollection
containsAll
-
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface java.util.Collection
parallelStream, stream, toArray
-
Methods inherited from interface java.util.List
containsAll
-
-
-
-
Field Detail
-
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.
-
-
Constructor Detail
-
XmpArray
public XmpArray(String type)
Creates an XmpArray.- Parameters:
type- the type of array: UNORDERED, ORDERED or ALTERNATIVE.
-
-
Method Detail
-
toString
public String toString()
Returns the String representation of the XmpArray.- Overrides:
toStringin classAbstractCollection<String>- Returns:
- a String representation
-
-