Package org.simpleframework.xml.stream
Class NodeStack
- java.lang.Object
-
- java.util.AbstractCollection<E>
-
- java.util.AbstractList<E>
-
- java.util.ArrayList<T>
-
- org.simpleframework.xml.stream.Stack<org.w3c.dom.Node>
-
- org.simpleframework.xml.stream.NodeStack
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Cloneable
,java.lang.Iterable<org.w3c.dom.Node>
,java.util.Collection<org.w3c.dom.Node>
,java.util.List<org.w3c.dom.Node>
,java.util.RandomAccess
class NodeStack extends Stack<org.w3c.dom.Node>
TheNodeStack
object is used to represent a stack of DOM nodes. Stacking DOM nodes is required to determine where within a stream of nodes you currently are. It allows a reader to produce end events when a node is popped from the stack.- See Also:
DocumentReader
-
-
Constructor Summary
Constructors Constructor Description NodeStack()
Constructor for theNodeStack
object.
-
Method Summary
-
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
-
-