home *** CD-ROM | disk | FTP | other *** search
- package webeq3.dom;
-
- import java.util.Vector;
- import org.w3c.dom.Node;
-
- public class MathMLDOMNodeList implements MathMLNodeList {
- Vector nodelist = new Vector();
- public int length;
-
- public int getLength() {
- return this.nodelist.size();
- }
-
- public Node item(int var1) {
- return (Node)this.nodelist.elementAt(var1);
- }
-
- public void addNode(Node var1) {
- this.nodelist.addElement(var1);
- this.length = this.nodelist.size();
- }
- }
-