com.steadystate.css.dom
public class CSSRuleListImpl extends java.lang.Object implements CSSRuleList, java.io.Serializable
Constructor and Description |
---|
CSSRuleListImpl() |
public int getLength()
CSSRuleList
CSSRules
in the list. The range of valid
child rule indices is 0
to length-1
inclusive.getLength
in interface CSSRuleList
public CSSRule item(int index)
CSSRuleList
null
.item
in interface CSSRuleList
index
position in the
CSSRuleList
, or null
if that is not a
valid index.public void add(CSSRule rule)
public void insert(CSSRule rule, int index)
public void delete(int index)
public java.lang.String toString()
toString
in class java.lang.Object