org.apache.batik.dom

Class AbstractParentNode.ElementsByTagNameNS

protected class AbstractParentNode.ElementsByTagNameNS extends Object implements NodeList

To manage a list of nodes.
Field Summary
protected StringlocalName
The local name identifier.
protected StringnamespaceURI
The namespace URI identifier.
protected intsize
The number of nodes.
protected Node[]table
The table.
Constructor Summary
ElementsByTagNameNS(String ns, String ln)
Creates a new ElementsByTagNameNS object.
Method Summary
protected voidappend(Node n)
Appends a node to the list.
intgetLength()
DOM: Implements NodeList#getLength().
protected voidinitialize()
Initializes the list.
voidinvalidate()
Invalidates the list.
Nodeitem(int index)
DOM: Implements NodeList#item(int).

Field Detail

localName

protected String localName
The local name identifier.

namespaceURI

protected String namespaceURI
The namespace URI identifier.

size

protected int size
The number of nodes.

table

protected Node[] table
The table.

Constructor Detail

ElementsByTagNameNS

public ElementsByTagNameNS(String ns, String ln)
Creates a new ElementsByTagNameNS object.

Method Detail

append

protected void append(Node n)
Appends a node to the list.

getLength

public int getLength()
DOM: Implements NodeList#getLength().

Returns: size.

initialize

protected void initialize()
Initializes the list.

invalidate

public void invalidate()
Invalidates the list.

item

public Node item(int index)
DOM: Implements NodeList#item(int).
Copyright B) 2008 Apache Software Foundation. All Rights Reserved.