Interface DOMStringList

All Known Implementing Classes:
DOMStringListImpl

public interface DOMStringList
A type returned by some APIs which contains a list of DOMString (strings).
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    contains(String string)
    Returns true if strings contains string, and false otherwise.
    int
    Returns the number of strings in strings.
    item(int index)
    Returns the string with index index from strings.
  • Method Details

    • getLength

      int getLength()
      Returns the number of strings in strings.
      Returns:
      a Integer object.
    • contains

      boolean contains(String string)
      Returns true if strings contains string, and false otherwise.
      Parameters:
      string - a String object.
      Returns:
      a boolean.
    • item

      String item(int index)
      Returns the string with index index from strings.
      Parameters:
      index - a Integer object.
      Returns:
      a String object.