Package org.apache.batik.dom
Class AbstractParentNode.ElementsByTagName
- java.lang.Object
-
- org.apache.batik.dom.AbstractParentNode.ElementsByTagName
-
- All Implemented Interfaces:
org.w3c.dom.NodeList
- Enclosing class:
- AbstractParentNode
protected class AbstractParentNode.ElementsByTagName extends java.lang.Object implements org.w3c.dom.NodeList
To manage a list of nodes.
-
-
Constructor Summary
Constructors Constructor Description ElementsByTagName(java.lang.String n)
Creates a new ElementsByTagName object.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
append(org.w3c.dom.Node n)
Appends a node to the list.int
getLength()
DOM: ImplementsNodeList.getLength()
.protected void
initialize()
Initializes the list.void
invalidate()
Invalidates the list.org.w3c.dom.Node
item(int index)
DOM: ImplementsNodeList.item(int)
.
-
-
-
Method Detail
-
item
public org.w3c.dom.Node item(int index)
DOM: ImplementsNodeList.item(int)
.- Specified by:
item
in interfaceorg.w3c.dom.NodeList
-
getLength
public int getLength()
DOM: ImplementsNodeList.getLength()
.- Specified by:
getLength
in interfaceorg.w3c.dom.NodeList
- Returns:
size
.
-
invalidate
public void invalidate()
Invalidates the list.
-
append
protected void append(org.w3c.dom.Node n)
Appends a node to the list.
-
initialize
protected void initialize()
Initializes the list.
-
-