com.steadystate.css.dom
Class MediaListImpl
java.lang.Object
com.steadystate.css.dom.CSSOMObjectImpl
com.steadystate.css.dom.MediaListImpl
- All Implemented Interfaces:
- CSSOMObject, java.io.Serializable, org.w3c.dom.stylesheets.MediaList
public class MediaListImpl
- extends CSSOMObjectImpl
- implements org.w3c.dom.stylesheets.MediaList, java.io.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
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
MediaListImpl
public MediaListImpl(org.w3c.css.sac.SACMediaList mediaList)
MediaListImpl
public MediaListImpl()
setMedia
public void setMedia(java.util.List<java.lang.String> media)
getMediaText
public java.lang.String getMediaText()
- Specified by:
getMediaText
in interface org.w3c.dom.stylesheets.MediaList
setMediaText
public void setMediaText(java.lang.String mediaText)
throws org.w3c.dom.DOMException
- Specified by:
setMediaText
in interface org.w3c.dom.stylesheets.MediaList
- Throws:
org.w3c.dom.DOMException
getLength
public int getLength()
- Specified by:
getLength
in interface org.w3c.dom.stylesheets.MediaList
item
public java.lang.String item(int index)
- Specified by:
item
in interface org.w3c.dom.stylesheets.MediaList
deleteMedium
public void deleteMedium(java.lang.String oldMedium)
throws org.w3c.dom.DOMException
- Specified by:
deleteMedium
in interface org.w3c.dom.stylesheets.MediaList
- Throws:
org.w3c.dom.DOMException
appendMedium
public void appendMedium(java.lang.String newMedium)
throws org.w3c.dom.DOMException
- Specified by:
appendMedium
in interface org.w3c.dom.stylesheets.MediaList
- Throws:
org.w3c.dom.DOMException
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Object
Copyright © 2010. All Rights Reserved.