Class XmpArray

  • All Implemented Interfaces:
    java.io.Serializable, java.lang.Cloneable, java.lang.Iterable<java.lang.String>, java.util.Collection<java.lang.String>, java.util.List<java.lang.String>, java.util.RandomAccess

    public class XmpArray
    extends java.util.ArrayList<java.lang.String>
    StringBuffer to construct an XMP array.
    See Also:
    Serialized Form
    • Field Summary

      Fields 
      Modifier and Type Field Description
      static java.lang.String ALTERNATIVE
      An array with alternatives.
      static java.lang.String ORDERED
      An array that is ordered.
      private static long serialVersionUID  
      protected java.lang.String type
      the type of array.
      static java.lang.String UNORDERED
      An array that is unordered.
      • Fields inherited from class java.util.AbstractList

        modCount
    • Constructor Summary

      Constructors 
      Constructor Description
      XmpArray​(java.lang.String type)
      Creates an XmpArray.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.String toString()
      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 java.lang.String UNORDERED
        An array that is unordered.
        See Also:
        Constant Field Values
      • ORDERED

        public static final java.lang.String ORDERED
        An array that is ordered.
        See Also:
        Constant Field Values
      • ALTERNATIVE

        public static final java.lang.String ALTERNATIVE
        An array with alternatives.
        See Also:
        Constant Field Values
      • type

        protected java.lang.String type
        the type of array.
    • Constructor Detail

      • XmpArray

        public XmpArray​(java.lang.String type)
        Creates an XmpArray.
        Parameters:
        type - the type of array: UNORDERED, ORDERED or ALTERNATIVE.
    • Method Detail

      • toString

        public java.lang.String toString()
        Returns the String representation of the XmpArray.
        Overrides:
        toString in class java.util.AbstractCollection<java.lang.String>
        Returns:
        a String representation