public class CSSSACMediaList extends Object implements org.w3c.css.sac.SACMediaList
SACMediaList interface.| Modifier and Type | Field and Description |
|---|---|
protected int |
length
The list length.
|
protected String[] |
list
The list.
|
| Constructor and Description |
|---|
CSSSACMediaList() |
| Modifier and Type | Method and Description |
|---|---|
void |
append(String item)
Appends an item to the list.
|
int |
getLength()
SAC: Returns the length of this selector list
|
String |
item(int index)
SAC: Returns the selector at the specified index, or
null if this is not a valid index. |
protected String[] list
protected int length
public int getLength()
getLength in interface org.w3c.css.sac.SACMediaListpublic String item(int index)
null if this is not a valid index.item in interface org.w3c.css.sac.SACMediaListpublic void append(String item)
Copyright © 2000–2021 Apache Software Foundation. All rights reserved.