com.itextpdf.text.xml.xmp
Class XmpArray

java.lang.Object
  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.
protected  String type
          the type of array.
static String UNORDERED
          An array that is unordered.
 
Fields inherited from class java.util.AbstractList
modCount
 
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

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:
toString in class AbstractCollection<String>
Returns:
a String representation


Copyright © 2013. All Rights Reserved.