Package com.steadystate.css.parser
Class SACMediaListImpl
- java.lang.Object
-
- com.steadystate.css.parser.SACMediaListImpl
-
- All Implemented Interfaces:
SACMediaList
public class SACMediaListImpl extends java.lang.Object implements SACMediaList
-
-
Constructor Summary
Constructors Constructor Description SACMediaListImpl()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidadd(java.lang.String s)intgetLength()Returns the length of this media listjava.lang.Stringitem(int index)Returns the medium at the specified index, ornullif this is not a valid index.java.lang.StringtoString()
-
-
-
Method Detail
-
getLength
public int getLength()
Description copied from interface:SACMediaListReturns the length of this media list- Specified by:
getLengthin interfaceSACMediaList
-
item
public java.lang.String item(int index)
Description copied from interface:SACMediaListReturns the medium at the specified index, ornullif this is not a valid index.- Specified by:
itemin interfaceSACMediaList
-
add
public void add(java.lang.String s)
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
-