Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

org.w3c.flute.parser
Class MediaListImpl  view MediaListImpl download MediaListImpl.java

java.lang.Object
  extended byorg.w3c.flute.parser.MediaListImpl
All Implemented Interfaces:
org.w3c.css.sac.SACMediaList

public class MediaListImpl
extends java.lang.Object
implements org.w3c.css.sac.SACMediaList

Version:
$Revision: 1.4 $

Field Summary
(package private)  java.lang.String[] array
           
(package private)  int current
           
 
Constructor Summary
MediaListImpl()
           
 
Method Summary
(package private)  void addItem(java.lang.String medium)
           
 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()
          Returns a string representation of this object.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

array

java.lang.String[] array

current

int current
Constructor Detail

MediaListImpl

public MediaListImpl()
Method Detail

getLength

public int getLength()
Description copied from interface: org.w3c.css.sac.SACMediaList
Returns the length of this media list

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

item

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

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

addItem

void addItem(java.lang.String medium)

toString

public java.lang.String toString()
Returns a string representation of this object.