com.aspose.html

Interface IHTMLOptionsCollection

    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method and Description
      Element get_Item(int index)
      Method returns the indexth item in the collection.
      Element get_Item(java.lang.String name)
      Returns the indexth item in the collection.
      int getLength()
      The number of nodes in the list.
      Element namedItem(java.lang.String name)
      Method returns the indexth item in the collection.
      • Methods inherited from interface com.aspose.ms.System.Collections.Generic.IGenericEnumerable

        iterator
      • Methods inherited from interface java.lang.Iterable

        forEach, spliterator
    • Method Detail

      • get_Item

        Element get_Item(java.lang.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(java.lang.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.