Class DOMStringListImpl

java.lang.Object
org.loboevolution.html.dom.domimpl.DOMStringListImpl
All Implemented Interfaces:
DOMStringList

public class DOMStringListImpl extends Object implements DOMStringList

DOMStringListImpl class.

  • Constructor Details

    • DOMStringListImpl

      public DOMStringListImpl(Set<String> sourceList)

      Constructor for DOMStringListImpl.

      Parameters:
      sourceList - a Set object.
  • Method Details

    • contains

      public boolean contains(String str)
      Returns true if strings contains string, and false otherwise.
      Specified by:
      contains in interface DOMStringList
      Parameters:
      str - a String object.
      Returns:
      a boolean.
    • getLength

      public int getLength()
      Returns the number of strings in strings.
      Specified by:
      getLength in interface DOMStringList
      Returns:
      a Integer object.
    • item

      public String item(int index)
      Returns the string with index index from strings.
      Specified by:
      item in interface DOMStringList
      Parameters:
      index - a Integer object.
      Returns:
      a String object.