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, setLocator
public int getLength()
getLength
in interface SelectorList
public Selector item(int index)
item
in interface SelectorList
public void add(Selector sel)
public String getCssText(CSSFormat format)
getCssText
in interface CSSFormatable
format
- the formatting rulesCopyright © 1999–2022. All rights reserved.