Interface HTMLCollection

All Known Subinterfaces:
HTMLFormControlsCollection, HTMLOptionsCollection
All Known Implementing Classes:
HTMLCollectionImpl, HTMLFormControlsCollectionImpl, HTMLOptionsCollectionImpl, NodeSet

public interface HTMLCollection

HTMLCollection interface.

  • Method Details

    • namedItem

      Element namedItem(String name)
      Retrieves a select object or an object from an options collection.
      Parameters:
      name - a String object.
      Returns:
      a Element object.
    • getLength

      int getLength()

      getLength.

      Returns:
      a Integer object.
    • item

      Node item(Object index)

      item.

      Parameters:
      index - a Integer object.
      Returns:
      a Node object.
    • setItem

      void setItem(Integer index, Node node)

      item.

      Parameters:
      index - a Integer object.