Class FacadeNodeList

  • All Implemented Interfaces:
    org.w3c.dom.NodeList

    public class FacadeNodeList
    extends java.lang.Object
    implements org.w3c.dom.NodeList
    The NodeList which is a facade of another java List.
    Author:
    tomyeh
    • Field Summary

      Fields 
      Modifier and Type Field Description
      protected java.util.List _list
      The java List to facade.
    • Constructor Summary

      Constructors 
      Constructor Description
      FacadeNodeList​(java.util.List list)
      Constructor.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      int getLength()  
      org.w3c.dom.Node item​(int j)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • _list

        protected java.util.List _list
        The java List to facade.
    • Constructor Detail

      • FacadeNodeList

        public FacadeNodeList​(java.util.List list)
        Constructor.
        Parameters:
        list - the list to facade; never null
    • Method Detail

      • getLength

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

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