Class NodeListImpl

  • All Implemented Interfaces:
    NodeList

    public class NodeListImpl
    extends Object
    implements NodeList
    Author:
    ashutosh.shahi@sun.com
    • Constructor Detail

      • NodeListImpl

        public NodeListImpl()
        Creates a new instance of NodeListImpl
    • Method Detail

      • getLength

        public int getLength()
        get the size of the nodeList
        Specified by:
        getLength in interface NodeList
      • item

        public Node item​(int i)
        get the ith item from NodeList
        Specified by:
        item in interface NodeList
      • add

        public void add​(Node node)
        add node to the end of NodeList
      • merge

        public void merge​(NodeList nodeList)