T
- the type of nodes over which to iterateDomNode.DescendantDomNodesIterator
,
DomNode.DescendantDomElementsIterator
, or DomNode.DescendantHtmlElementsIterator
instead.@Deprecated protected class DomNode.DescendantElementsIterator<T extends DomNode> extends Object implements Iterator<T>
Constructor and Description |
---|
DescendantElementsIterator(Class<T> type)
Deprecated.
Creates a new instance which iterates over the specified node type.
|
Modifier and Type | Method and Description |
---|---|
boolean |
hasNext()
Deprecated.
|
protected boolean |
isAccepted(DomNode node)
Deprecated.
Indicates if the node is accepted.
|
T |
next()
Deprecated.
|
T |
nextNode()
Deprecated.
|
void |
remove()
Deprecated.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
forEachRemaining
public boolean hasNext()
public void remove()
public T nextNode()
protected boolean isAccepted(DomNode node)
node
- the node to testtrue
if acceptedCopyright © 2002–2024 Gargoyle Software Inc.. All rights reserved.