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