Class NodeListIterator
java.lang.Object
org.apache.commons.collections4.iterators.NodeListIterator
- 
Constructor SummaryConstructorsConstructorDescriptionNodeListIterator(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 specifiedorg.w3c.NodeList
- 
Method SummaryModifier and TypeMethodDescriptionbooleanhasNext()next()voidremove()ThrowsUnsupportedOperationException.Methods inherited from class java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface java.util.IteratorforEachRemaining
- 
Constructor Details- 
NodeListIteratorConvenience constructor, which creates a new NodeListIterator from the specified node's childNodes.- Parameters:
- node- Node, whose child nodes are wrapped by this class. Must not be null
- Throws:
- NullPointerException- if node is null
 
- 
NodeListIteratorConstructor, that creates a new NodeListIterator from the specifiedorg.w3c.NodeList- Parameters:
- nodeList- node list, which is wrapped by this class. Must not be null
- Throws:
- NullPointerException- if nodeList is null
 
 
- 
- 
Method Details- 
hasNext
- 
next
- 
removeThrowsUnsupportedOperationException.- Specified by:
- removein interface- Iterator<Node>
- Throws:
- UnsupportedOperationException- always
 
 
-