|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.w3c.tidy.DOMNodeListByTagNameImpl
public class DOMNodeListByTagNameImpl
The items in the NodeList
are accessible via an integral
index, starting from 0.
Constructor Summary | |
---|---|
protected |
DOMNodeListByTagNameImpl(Node first,
java.lang.String tagName)
|
Method Summary | |
---|---|
int |
getLength()
The number of nodes in the list. |
org.w3c.dom.Node |
item(int index)
Returns the index th item in the collection. |
protected void |
preTraverse(Node node)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
protected DOMNodeListByTagNameImpl(Node first, java.lang.String tagName)
Method Detail |
---|
public org.w3c.dom.Node item(int index)
org.w3c.dom.NodeList
index
th item in the collection. If
index
is greater than or equal to the number of nodes in
the list, this returns null
.
item
in interface org.w3c.dom.NodeList
index
th position in the
NodeList
, or null
if that is not a valid
index.NodeList.item(int)
public int getLength()
org.w3c.dom.NodeList
length-1
inclusive.
getLength
in interface org.w3c.dom.NodeList
NodeList.getLength()
protected void preTraverse(Node node)
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |