public class MediaListImpl extends AbstractLocatable implements Serializable
| Constructor and Description |
|---|
MediaListImpl(MediaQueryList mediaList)
Creates new MediaList.
|
| Modifier and Type | Method and Description |
|---|---|
void |
appendMedium(String newMedium) |
void |
deleteMedium(String oldMedium) |
boolean |
equals(Object obj) |
int |
getLength() |
String |
getMediaText() |
int |
hashCode() |
MediaQuery |
mediaQuery(int index) |
void |
setMedia(List<String> media) |
void |
setMediaText(String mediaText) |
String |
toString() |
getLocator, setLocatorpublic MediaListImpl(MediaQueryList mediaList)
mediaList - the media listpublic String getMediaText()
public void setMediaText(String mediaText) throws DOMException
DOMExceptionpublic int getLength()
public MediaQuery mediaQuery(int index)
index - the position of the media querypublic void deleteMedium(String oldMedium) throws DOMException
DOMExceptionpublic void appendMedium(String newMedium) throws DOMException
DOMExceptionCopyright © 2019. All rights reserved.