Package com.steadystate.css.parser
Class SelectorListImpl
- java.lang.Object
-
- com.steadystate.css.parser.SelectorListImpl
-
- All Implemented Interfaces:
java.io.Serializable,SelectorList
public class SelectorListImpl extends java.lang.Object implements SelectorList, java.io.Serializable
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description SelectorListImpl()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidadd(Selector sel)intgetLength()Returns the length of this selector listSelectoritem(int index)Returns the selector at the specified index, ornullif this is not a valid index.java.lang.StringtoString()
-
-
-
Method Detail
-
getLength
public int getLength()
Description copied from interface:SelectorListReturns the length of this selector list- Specified by:
getLengthin interfaceSelectorList
-
item
public Selector item(int index)
Description copied from interface:SelectorListReturns the selector at the specified index, ornullif this is not a valid index.- Specified by:
itemin interfaceSelectorList
-
add
public void add(Selector sel)
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
-