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 void
add(Selector sel)
int
getLength()
Returns the length of this selector listSelector
item(int index)
Returns the selector at the specified index, ornull
if this is not a valid index.java.lang.String
toString()
-
-
-
Method Detail
-
getLength
public int getLength()
Description copied from interface:SelectorList
Returns the length of this selector list- Specified by:
getLength
in interfaceSelectorList
-
item
public Selector item(int index)
Description copied from interface:SelectorList
Returns the selector at the specified index, ornull
if this is not a valid index.- Specified by:
item
in interfaceSelectorList
-
add
public void add(Selector sel)
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
-