Class XmpArray

  extended by java.util.AbstractCollection<E>
      extended by java.util.AbstractList<E>
          extended by java.util.ArrayList<String>
              extended by 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

Field Summary
static String ALTERNATIVE
          An array with alternatives.
static String ORDERED
          An array that is ordered.
private static long serialVersionUID
protected  String type
          the type of array.
static String UNORDERED
          An array that is unordered.
Fields inherited from class java.util.AbstractList
Constructor Summary
XmpArray(String type)
          Creates an XmpArray.
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
Methods inherited from class java.util.AbstractList
equals, hashCode, iterator, listIterator, listIterator, subList
Methods inherited from class java.util.AbstractCollection
containsAll, removeAll, retainAll
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
Methods inherited from interface java.util.List
containsAll, equals, hashCode, iterator, listIterator, listIterator, removeAll, retainAll, subList

Field Detail


private static final long serialVersionUID
See Also:
Constant Field Values


public static final String UNORDERED
An array that is unordered.

See Also:
Constant Field Values


public static final String ORDERED
An array that is ordered.

See Also:
Constant Field Values


public static final String ALTERNATIVE
An array with alternatives.

See Also:
Constant Field Values


protected String type
the type of array.

Constructor Detail


public XmpArray(String type)
Creates an XmpArray.

type - the type of array: UNORDERED, ORDERED or ALTERNATIVE.
Method Detail


public String toString()
Returns the String representation of the XmpArray.

toString in class AbstractCollection<String>
a String representation

Hosted by Hostbasket