public class SelectorListImpl extends LocatableImpl implements org.w3c.css.sac.SelectorList, CSSFormatable, Serializable
SelectorList
.Constructor and Description |
---|
SelectorListImpl() |
Modifier and Type | Method and Description |
---|---|
void |
add(org.w3c.css.sac.Selector sel) |
String |
getCssText(CSSFormat format)
Returns a string representation of the rule based on the given format.
|
int |
getLength() |
List<org.w3c.css.sac.Selector> |
getSelectors() |
org.w3c.css.sac.Selector |
item(int index) |
void |
setSelectors(List<org.w3c.css.sac.Selector> selectors) |
String |
toString() |
getLocator, setLocator
public List<org.w3c.css.sac.Selector> getSelectors()
public void setSelectors(List<org.w3c.css.sac.Selector> selectors)
public int getLength()
getLength
in interface org.w3c.css.sac.SelectorList
public org.w3c.css.sac.Selector item(int index)
item
in interface org.w3c.css.sac.SelectorList
public void add(org.w3c.css.sac.Selector sel)
public String getCssText(CSSFormat format)
getCssText
in interface CSSFormatable
format
- the formatting rulesCopyright © 2019. All rights reserved.