Class DOMStringListImpl
java.lang.Object
org.loboevolution.html.dom.domimpl.DOMStringListImpl
- All Implemented Interfaces:
DOMStringList
DOMStringListImpl class.
-
Constructor Summary
ConstructorsConstructorDescriptionDOMStringListImpl(Set<String> sourceList) Constructor for DOMStringListImpl. -
Method Summary
-
Constructor Details
-
DOMStringListImpl
Constructor for DOMStringListImpl.
- Parameters:
sourceList- aSetobject.
-
-
Method Details
-
contains
Returns true if strings contains string, and false otherwise.- Specified by:
containsin interfaceDOMStringList- Parameters:
str- aStringobject.- Returns:
- a boolean.
-
getLength
public int getLength()Returns the number of strings in strings.- Specified by:
getLengthin interfaceDOMStringList- Returns:
- a
Integerobject.
-
item
Returns the string with index index from strings.- Specified by:
itemin interfaceDOMStringList- Parameters:
index- aIntegerobject.- Returns:
- a
Stringobject.
-