Class AbstractParentNode.ElementsByTagNameNS

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

    protected class AbstractParentNode.ElementsByTagNameNS
    extends java.lang.Object
    implements org.w3c.dom.NodeList
    To manage a list of nodes.
    • Field Summary

      Fields 
      Modifier and Type Field Description
      protected java.lang.String localName
      The local name identifier.
      protected java.lang.String namespaceURI
      The namespace URI identifier.
      protected int size
      The number of nodes.
      protected org.w3c.dom.Node[] table
      The table.
    • Constructor Summary

      Constructors 
      Constructor Description
      ElementsByTagNameNS​(java.lang.String ns, java.lang.String ln)
      Creates a new ElementsByTagNameNS object.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      protected void append​(org.w3c.dom.Node n)
      Appends a node to the list.
      int getLength()
      DOM: Implements NodeList.getLength().
      protected void initialize()
      Initializes the list.
      private void initialize​(org.w3c.dom.Node node)  
      void invalidate()
      Invalidates the list.
      org.w3c.dom.Node item​(int index)
      DOM: Implements NodeList.item(int).
      private boolean nsMatch​(java.lang.String s1, java.lang.String s2)  
      • Methods inherited from class java.lang.Object

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

      • table

        protected org.w3c.dom.Node[] table
        The table.
      • size

        protected int size
        The number of nodes.
      • namespaceURI

        protected java.lang.String namespaceURI
        The namespace URI identifier.
      • localName

        protected java.lang.String localName
        The local name identifier.
    • Constructor Detail

      • ElementsByTagNameNS

        public ElementsByTagNameNS​(java.lang.String ns,
                                   java.lang.String ln)
        Creates a new ElementsByTagNameNS object.
    • Method Detail

      • 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
        Returns:
        size.
      • invalidate

        public void invalidate()
        Invalidates the list.
      • append

        protected void append​(org.w3c.dom.Node n)
        Appends a node to the list.
      • initialize

        protected void initialize()
        Initializes the list.
      • initialize

        private void initialize​(org.w3c.dom.Node node)
      • nsMatch

        private boolean nsMatch​(java.lang.String s1,
                                java.lang.String s2)