com.itextpdf.tool.xml
Class ElementList

java.lang.Object
  extended by java.util.AbstractCollection<E>
      extended by java.util.AbstractList<E>
          extended by java.util.ArrayList<Element>
              extended by com.itextpdf.tool.xml.ElementList
All Implemented Interfaces:
ElementHandler, Serializable, Cloneable, Iterable<Element>, Collection<Element>, List<Element>, RandomAccess

public class ElementList
extends ArrayList<Element>
implements ElementHandler

Implementation of the ElementHandler interface that helps you build a list of iText Elements.

See Also:
Serialized Form

Field Summary
 
Fields inherited from class java.util.AbstractList
modCount
 
Constructor Summary
ElementList()
           
 
Method Summary
 void add(Writable w)
          Receive a Writable.
 
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, toString
 
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
 

Constructor Detail

ElementList

public ElementList()
Method Detail

add

public void add(Writable w)
Description copied from interface: ElementHandler
Receive a Writable.

Specified by:
add in interface ElementHandler
Parameters:
w - the writable to add
See Also:
ElementHandler.add(com.itextpdf.tool.xml.Writable)


Copyright © 2015. All Rights Reserved.