Class MutableNodeListImpl

java.lang.Object
  |
  +--MutableNodeListImpl
All Implemented Interfaces:
org.w3c.dom.NodeList

public class MutableNodeListImpl
extends java.lang.Object
implements org.w3c.dom.NodeList

Implements a list of nodes, that Sun could as well have declared as a Vector but is not.

Version:
Vanilla-1 Mon Feb 19 16:07:36 2001
Author:
M. Oliver Möller

Field Summary
private  java.util.Vector data
           
 
Constructor Summary
MutableNodeListImpl()
          Default Constructor
 
Method Summary
 void addNode(org.w3c.dom.Node n)
          Insert a node at the end of the list.
 int getLength()
           
 org.w3c.dom.Node item(int index)
           
 
Methods inherited from class java.lang.Object
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, registerNatives, toString, wait, wait, wait
 

Field Detail

data

private java.util.Vector data
Constructor Detail

MutableNodeListImpl

public MutableNodeListImpl()
Default Constructor
Method Detail

getLength

public int getLength()
Specified by:
getLength in interface org.w3c.dom.NodeList

item

public org.w3c.dom.Node item(int index)
Specified by:
item in interface org.w3c.dom.NodeList

addNode

public void addNode(org.w3c.dom.Node n)
Insert a node at the end of the list.