org.apache.batik.dom

Class AbstractParentNode.ElementsByTagName

protected class AbstractParentNode.ElementsByTagName extends Object implements NodeList

To manage a list of nodes.
Field Summary
protected Stringname
The name identifier.
protected intsize
The number of nodes.
protected Node[]table
The table.
Constructor Summary
ElementsByTagName(String n)
Creates a new ElementsByTagName 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

name

protected String name
The name identifier.

size

protected int size
The number of nodes.

table

protected Node[] table
The table.

Constructor Detail

ElementsByTagName

public ElementsByTagName(String n)
Creates a new ElementsByTagName 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.