|
JSR 105, v0.13 (Proposed Final Draft) | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--javax.xml.crypto.dom.DOMNodeSetData
A DOM-specific NodeSetData
. The purpose of this class is to
provide additional context necessary for iterating over DOM node sets.
The iterators returned by this class are live. This means that advancing or changing the position of a returned iterator affects all other iterators returned by this class.
Unless otherwise specified, the methods defined in this class are not thread-safe. Multiple threads that need to access a single object concurrently should synchronize amongst themselves and provide the necessary locking. Multiple threads each manipulating separate objects need not synchronize.
Constructor Summary | |
DOMNodeSetData(org.w3c.dom.traversal.NodeIterator ni)
Creates a DOMNodeSetData containing the specified
NodeIterator . |
Method Summary | |
Iterator |
iterator()
Returns a read-only iterator over the nodes contained in this NodeSetData . |
org.w3c.dom.traversal.NodeIterator |
nodeIterator()
Returns a NodeIterator over the nodes contained in this
DOMNodeSetData . |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public DOMNodeSetData(org.w3c.dom.traversal.NodeIterator ni)
DOMNodeSetData
containing the specified
NodeIterator
.
ni
- the NodeIterator
NullPointerException
- if ni
is null
Method Detail |
public org.w3c.dom.traversal.NodeIterator nodeIterator()
NodeIterator
over the nodes contained in this
DOMNodeSetData
.
NodeIterator
over the nodes in this
DOMNodeSetData
public Iterator iterator()
NodeSetData
NodeSetData
. Attempts to modify the returned iterator
via the remove
method throw
UnsupportedOperationException
.
iterator
in interface NodeSetData
Iterator
over the nodes in this
NodeSetData
|
JSR 105, v0.13 (Proposed Final Draft) | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |