public class SelectorListImpl extends LocatableImpl implements SelectorList, CSSFormatable, Serializable
SelectorList.| Constructor and Description |
|---|
SelectorListImpl() |
| Modifier and Type | Method and Description |
|---|---|
void |
add(Selector sel) |
String |
getCssText(CSSFormat format)
Returns a string representation of the rule based on the given format.
|
int |
getLength()
Returns the length of this selector list
|
List<Selector> |
getSelectors() |
Selector |
item(int index)
Returns the selector at the specified index, or
null if this
is not a valid index. |
void |
setSelectors(List<Selector> selectors) |
String |
toString() |
getLocator, setLocatorpublic int getLength()
SelectorListgetLength in interface SelectorListpublic Selector item(int index)
SelectorListnull if this
is not a valid index.item in interface SelectorListpublic void add(Selector sel)
public String getCssText(CSSFormat format)
getCssText in interface CSSFormatableformat - the formatting rulesCopyright © 2026. All rights reserved.