Package com.adobe.xfa

Class NodeList

All Implemented Interfaces:
Peer
Direct Known Subclasses:
ArrayNodeList, ElementNodeList

public abstract class NodeList extends ListBase
A superclass to represent a list of nodes.
  • Constructor Details

    • NodeList

      public NodeList()
      Instantiates a node list.
  • Method Details

    • clone

      public abstract Object clone()
      Creates a copy of this node list.

      This method does not make copies of the underlying object implementations, it just place them in a new storage.

      Returns:
      a new node list.
    • getNamedItem

      public abstract Node getNamedItem(String name)
      Gets the first child of this node list with the given name.
      Parameters:
      name - the name of the child node.
      Returns:
      the first child of this node with the given name.
    • getNamedItem

      public abstract Node getNamedItem(String aName, String aClassName, int nOccurrence)
      Get the first child of this node with the given name
      Parameters:
      aName - the name of the node to search for.
      aClassName - the class of node to search for, ignored if null. If non-null, this String must be interned.
      nOccurrence - the occurrence to search for.
      Returns:
      the first child of this node with the given name and classname.
    • getScriptTable

      public ScriptTable getScriptTable()
      Overrides:
      getScriptTable in class ListBase