com.steadystate.css.parser
Class SelectorListImpl

java.lang.Object
  extended by 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
SelectorListImpl()
           
 
Method Summary
 void add(Selector sel)
           
 int getLength()
          Returns the length of this selector list
 Selector item(int index)
          Returns the selector at the specified index, or null if this is not a valid index.
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

SelectorListImpl

public SelectorListImpl()
Method Detail

getLength

public int getLength()
Description copied from interface: SelectorList
Returns the length of this selector list

Specified by:
getLength in interface SelectorList

item

public Selector item(int index)
Description copied from interface: SelectorList
Returns the selector at the specified index, or null if this is not a valid index.

Specified by:
item in interface SelectorList

add

public void add(Selector sel)

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object