Class AbstractParentNode.ElementsByTagName

java.lang.Object
org.apache.batik.dom.AbstractParentNode.ElementsByTagName
All Implemented Interfaces:
NodeList
Enclosing class:
AbstractParentNode

protected class AbstractParentNode.ElementsByTagName extends Object implements NodeList
To manage a list of nodes.
  • Field Details

    • table

      protected Node[] table
      The table.
    • size

      protected int size
      The number of nodes.
    • name

      protected String name
      The name identifier.
  • Constructor Details

    • ElementsByTagName

      public ElementsByTagName(String n)
      Creates a new ElementsByTagName object.
  • Method Details

    • item

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

      public int getLength()
      DOM: Implements NodeList.getLength().
      Specified by:
      getLength in interface NodeList
      Returns:
      size.
    • invalidate

      public void invalidate()
      Invalidates the list.
    • append

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

      protected void initialize()
      Initializes the list.
    • initialize

      private void initialize(Node node)