Package org.apache.batik.dom
Class AbstractParentNode.ElementsByTagNameNS
- java.lang.Object
-
- org.apache.batik.dom.AbstractParentNode.ElementsByTagNameNS
-
- All Implemented Interfaces:
org.w3c.dom.NodeList
- Enclosing class:
- AbstractParentNode
protected class AbstractParentNode.ElementsByTagNameNS extends java.lang.Object implements org.w3c.dom.NodeListTo manage a list of nodes.
-
-
Field Summary
Fields Modifier and Type Field Description protected java.lang.StringlocalNameThe local name identifier.protected java.lang.StringnamespaceURIThe namespace URI identifier.protected intsizeThe number of nodes.protected org.w3c.dom.Node[]tableThe table.
-
Constructor Summary
Constructors Constructor Description ElementsByTagNameNS(java.lang.String ns, java.lang.String ln)Creates a new ElementsByTagNameNS object.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected voidappend(org.w3c.dom.Node n)Appends a node to the list.intgetLength()DOM: ImplementsNodeList.getLength().protected voidinitialize()Initializes the list.private voidinitialize(org.w3c.dom.Node node)voidinvalidate()Invalidates the list.org.w3c.dom.Nodeitem(int index)DOM: ImplementsNodeList.item(int).private booleannsMatch(java.lang.String s1, java.lang.String s2)
-
-
-
Method Detail
-
item
public org.w3c.dom.Node item(int index)
DOM: ImplementsNodeList.item(int).- Specified by:
itemin interfaceorg.w3c.dom.NodeList
-
getLength
public int getLength()
DOM: ImplementsNodeList.getLength().- Specified by:
getLengthin 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.
-
initialize
private void initialize(org.w3c.dom.Node node)
-
nsMatch
private boolean nsMatch(java.lang.String s1, java.lang.String s2)
-
-