com.aspose.html

Interface IHTMLOptionsCollection

    • Method Detail

      • get_Item

        Element get_Item(String name)

        Returns the indexth item in the collection. If index is greater than or equal to the number of nodes in the list, this returns null.

        Parameters:
        name - The element name.
        Returns:
        Returns node.
      • get_Item

        @DOMNameAttribute(name="item")
        Element get_Item(int index)

        Method returns the indexth item in the collection. If index is greater than or equal to the number of nodes in the list, this returns null. http://www.w3.org/TR/DOM-Level-2-HTML/html.html#HTMLOptionsCollection-namedItem

        Specified by:
        get_Item in interface IDOMCollectionIndexer<Element>
        Parameters:
        index - The index.
        Returns:
        Returns node.
      • namedItem

        @DOMNameAttribute(name="namedItem")
        Element namedItem(String name)

        Method returns the indexth item in the collection. http://www.w3.org/TR/DOM-Level-2-HTML/html.html#HTMLOptionsCollection-namedItem

        Parameters:
        name - The element name.
        Returns:
        Returns node.