org.apache.batik.css.parser
Class CSSSACMediaList

java.lang.Object
  extended byorg.apache.batik.css.parser.CSSSACMediaList
All Implemented Interfaces:
org.w3c.css.sac.SACMediaList

public class CSSSACMediaList
extends Object
implements org.w3c.css.sac.SACMediaList

This class implements the SACMediaList interface.


Field Summary
protected  int length
          The list length.
protected  String[] list
          The list.
 
Constructor Summary
CSSSACMediaList()
           
 
Method Summary
 void append(String item)
          Appends an item to the list.
 int getLength()
          SAC: Returns the length of this selector list
 String item(int index)
          SAC: Returns the selector at the specified index, or null if this is not a valid index.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

list

protected String[] list
The list.


length

protected int length
The list length.

Constructor Detail

CSSSACMediaList

public CSSSACMediaList()
Method Detail

getLength

public int getLength()
SAC: Returns the length of this selector list

Specified by:
getLength in interface org.w3c.css.sac.SACMediaList

item

public String item(int index)
SAC: Returns the selector at the specified index, or null if this is not a valid index.

Specified by:
item in interface org.w3c.css.sac.SACMediaList

append

public void append(String item)
Appends an item to the list.



Copyright © 2009 Apache Software Foundation. All Rights Reserved.