Class DOMStringListImpl
java.lang.Object
org.loboevolution.html.dom.domimpl.DOMStringListImpl
- All Implemented Interfaces:
DOMStringList
DOMStringListImpl class.
-
Constructor Summary
ConstructorDescriptionDOMStringListImpl
(Set<String> sourceList) Constructor for DOMStringListImpl. -
Method Summary
-
Constructor Details
-
DOMStringListImpl
Constructor for DOMStringListImpl.
- Parameters:
sourceList
- aSet
object.
-
-
Method Details
-
contains
Returns true if strings contains string, and false otherwise.- Specified by:
contains
in interfaceDOMStringList
- Parameters:
str
- aString
object.- Returns:
- a boolean.
-
getLength
public int getLength()Returns the number of strings in strings.- Specified by:
getLength
in interfaceDOMStringList
- Returns:
- a
Integer
object.
-
item
Returns the string with index index from strings.- Specified by:
item
in interfaceDOMStringList
- Parameters:
index
- aInteger
object.- Returns:
- a
String
object.
-