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() |
List<Selector> |
getSelectors() |
Selector |
item(int index) |
void |
setSelectors(List<Selector> selectors) |
String |
toString() |
getLocator, setLocatorpublic int getLength()
getLength in interface SelectorListpublic Selector item(int index)
item in interface SelectorListpublic void add(Selector sel)
public String getCssText(CSSFormat format)
getCssText in interface CSSFormatableformat - the formatting rulesCopyright © 1999–2022. All rights reserved.