Constructor and Description |
---|
NodeListIterator(Node node)
Convenience constructor, which creates a new NodeListIterator from
the specified node's childNodes.
|
NodeListIterator(NodeList nodeList)
Constructor, that creates a new NodeListIterator from the specified
org.w3c.NodeList |
public NodeListIterator(Node node)
node
- Node, who's child nodes are wrapped by this class. Must not be nullIllegalArgumentException
- if node is nullpublic NodeListIterator(NodeList nodeList)
org.w3c.NodeList
nodeList
- node list, which is wrapped by this class. Must not be nullIllegalArgumentException
- if nodeList is nullpublic void remove()
UnsupportedOperationException
.remove
in interface Iterator<Node>
UnsupportedOperationException
- alwaysCopyright © 2001–2013 The Apache Software Foundation. All rights reserved.