Package com.adobe.xfa

Class NodeList

    • Constructor Detail

      • NodeList

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

      • 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.