com.steadystate.css.dom
Class MediaListImpl

java.lang.Object
  extended by com.steadystate.css.dom.CSSOMObjectImpl
      extended by com.steadystate.css.dom.MediaListImpl
All Implemented Interfaces:
CSSOMObject, Serializable, org.w3c.dom.stylesheets.MediaList

public class MediaListImpl
extends CSSOMObjectImpl
implements org.w3c.dom.stylesheets.MediaList, Serializable

Implements MediaList.

Version:
$Id: MediaListImpl.java,v 1.3 2008-03-26 02:17:24 sdanig Exp $
Author:
David Schweinsberg
See Also:
Serialized Form

Constructor Summary
MediaListImpl()
           
MediaListImpl(org.w3c.css.sac.SACMediaList mediaList)
           
 
Method Summary
 void appendMedium(String newMedium)
           
 void deleteMedium(String oldMedium)
           
 int getLength()
           
 String getMediaText()
           
 String item(int index)
           
 void setMedia(List<String> media)
           
 void setMediaText(String mediaText)
           
 String toString()
           
 
Methods inherited from class com.steadystate.css.dom.CSSOMObjectImpl
getUserData, getUserDataMap, setUserData, setUserDataMap
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

MediaListImpl

public MediaListImpl(org.w3c.css.sac.SACMediaList mediaList)

MediaListImpl

public MediaListImpl()
Method Detail

setMedia

public void setMedia(List<String> media)

getMediaText

public String getMediaText()
Specified by:
getMediaText in interface org.w3c.dom.stylesheets.MediaList

setMediaText

public void setMediaText(String mediaText)
                  throws DOMException
Specified by:
setMediaText in interface org.w3c.dom.stylesheets.MediaList
Throws:
DOMException

getLength

public int getLength()
Specified by:
getLength in interface org.w3c.dom.stylesheets.MediaList

item

public String item(int index)
Specified by:
item in interface org.w3c.dom.stylesheets.MediaList

deleteMedium

public void deleteMedium(String oldMedium)
                  throws DOMException
Specified by:
deleteMedium in interface org.w3c.dom.stylesheets.MediaList
Throws:
DOMException

appendMedium

public void appendMedium(String newMedium)
                  throws DOMException
Specified by:
appendMedium in interface org.w3c.dom.stylesheets.MediaList
Throws:
DOMException

toString

public String toString()
Overrides:
toString in class Object


Copyright © 2011. All Rights Reserved.