1 8 9 package org.uddi4j; 10 11 import java.util.Vector ; 12 13 import org.w3c.dom.Node ; 14 15 public class VectorNodeList implements org.w3c.dom.NodeList { 16 private Vector v = null; 17 18 public VectorNodeList(Vector v) { 19 this.v = v; 20 } 21 22 public Vector getVector() { 23 return v; 24 } 25 34 public Node item(int index) { 35 return (Node )v.elementAt(index); 36 } 37 41 public int getLength() { 42 return v.size(); 43 } 44 } 45 | Popular Tags |