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, setLocatorpublic 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.SelectorListpublic org.w3c.css.sac.Selector item(int index)
item in interface org.w3c.css.sac.SelectorListpublic void add(org.w3c.css.sac.Selector sel)
public String getCssText(CSSFormat format)
getCssText in interface CSSFormatableformat - the formatting rulesCopyright © 2021. All rights reserved.