Class XPathPatternContentSelector.SelectedNodes

  • All Implemented Interfaces:
    org.w3c.dom.NodeList
    Enclosing class:
    XPathPatternContentSelector

    protected class XPathPatternContentSelector.SelectedNodes
    extends java.lang.Object
    implements org.w3c.dom.NodeList
    Implementation of NodeList that contains the nodes that matched this selector.
    • Field Summary

      Fields 
      Modifier and Type Field Description
      protected java.util.ArrayList nodes
      The selected nodes.
    • Constructor Summary

      Constructors 
      Constructor Description
      SelectedNodes()
      Creates a new SelectedNodes object.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      protected boolean descendantSelected​(org.w3c.dom.Node n)  
      int getLength()
      DOM: Implements NodeList.getLength().
      org.w3c.dom.Node item​(int index)
      DOM: Implements NodeList.item(int).
      protected boolean update()  
      protected void update​(org.w3c.dom.Node n)  
      • Methods inherited from class java.lang.Object

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

      • nodes

        protected java.util.ArrayList nodes
        The selected nodes.
    • Constructor Detail

      • SelectedNodes

        public SelectedNodes()
        Creates a new SelectedNodes object.
    • Method Detail

      • update

        protected boolean update()
      • descendantSelected

        protected boolean descendantSelected​(org.w3c.dom.Node n)
      • update

        protected void update​(org.w3c.dom.Node n)
      • item

        public org.w3c.dom.Node item​(int index)
        DOM: Implements NodeList.item(int).
        Specified by:
        item in interface org.w3c.dom.NodeList
      • getLength

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