Package org.w3c.tidy
Class DOMNodeListByTagNameImpl
- java.lang.Object
-
- org.w3c.tidy.DOMNodeListByTagNameImpl
-
- All Implemented Interfaces:
NodeList
public class DOMNodeListByTagNameImpl extends Object implements NodeList
DOMNodeListByTagNameImpl. The items in theNodeListare accessible via an integral index, starting from 0.- Version:
- $Revision$ ($Author$)
- Author:
- Dave Raggett dsr@w3.org , Andy Quick ac.quick@sympatico.ca (translation to Java), Fabrizio Giustina
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedDOMNodeListByTagNameImpl(Node first, String tagName)Instantiates a new DOMNodeListByTagName.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intgetLength()Nodeitem(int index)protected voidpreTraverse(Node node)Traverse the node list.
-
-
-
Method Detail
-
item
public Node item(int index)
- Specified by:
itemin interfaceNodeList- See Also:
NodeList.item(int)
-
getLength
public int getLength()
- Specified by:
getLengthin interfaceNodeList- See Also:
NodeList.getLength()
-
preTraverse
protected void preTraverse(Node node)
Traverse the node list.- Parameters:
node- Node
-
-