Package org.apache.batik.css.parser
Class CSSSelectorList
java.lang.Object
org.apache.batik.css.parser.CSSSelectorList
- All Implemented Interfaces:
org.w3c.css.sac.SelectorList
This class implements the
SelectorList
interface.- Version:
- $Id: CSSSelectorList.java 1733416 2016-03-03 07:07:13Z gadams $
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
list
protected org.w3c.css.sac.Selector[] listThe list. -
length
protected int lengthThe list length.
-
-
Constructor Details
-
CSSSelectorList
public CSSSelectorList()
-
-
Method Details
-
getLength
public int getLength()SAC: Returns the length of this selector list- Specified by:
getLength
in interfaceorg.w3c.css.sac.SelectorList
-
item
public org.w3c.css.sac.Selector item(int index) SAC: Returns the selector at the specified index, ornull
if this is not a valid index.- Specified by:
item
in interfaceorg.w3c.css.sac.SelectorList
-
append
public void append(org.w3c.css.sac.Selector item) Appends an item to the list.
-