com.steadystate.css.parser
Class SACMediaListImpl

java.lang.Object
  extended by com.steadystate.css.parser.SACMediaListImpl
All Implemented Interfaces:
SACMediaList

public class SACMediaListImpl
extends java.lang.Object
implements SACMediaList


Constructor Summary
SACMediaListImpl()
           
 
Method Summary
 void add(java.lang.String s)
           
 int getLength()
          Returns the length of this media list
 java.lang.String item(int index)
          Returns the medium 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

SACMediaListImpl

public SACMediaListImpl()
Method Detail

getLength

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

Specified by:
getLength in interface SACMediaList

item

public java.lang.String item(int index)
Description copied from interface: SACMediaList
Returns the medium at the specified index, or null if this is not a valid index.

Specified by:
item in interface SACMediaList

add

public void add(java.lang.String s)

toString

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