|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.w3c.tidy.DOMNodeListByTagNameImpl
DOMNodeListByTagNameImpl. The items in the NodeList are accessible via an integral index, starting
from 0.
| Field Summary | |
private int |
currIndex
Current index. |
private Node |
currNode
Current node. |
private Node |
first
First node. |
private int |
maxIndex
Max index (number of nodes). |
private java.lang.String |
tagName
Tag name. |
| Constructor Summary | |
protected |
DOMNodeListByTagNameImpl(Node first,
java.lang.String tagName)
Instantiates a new DOMNodeListByTagName. |
| Method Summary | |
int |
getLength()
|
org.w3c.dom.Node |
item(int index)
|
protected void |
preTraverse(Node node)
Traverse the node list. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
private Node first
private java.lang.String tagName
private int currIndex
private int maxIndex
private Node currNode
| Constructor Detail |
protected DOMNodeListByTagNameImpl(Node first,
java.lang.String tagName)
first - first node.tagName - tag name| Method Detail |
public org.w3c.dom.Node item(int index)
item in interface org.w3c.dom.NodeListNodeList.item(int)public int getLength()
getLength in interface org.w3c.dom.NodeListNodeList.getLength()protected void preTraverse(Node node)
node - Node
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||