public interface MediaQuery extends Rule<MediaExpression>
| Modifier and Type | Method and Description |
|---|---|
String |
getType()
Obtains the declared media type.
|
boolean |
isNegative()
Checks whether the query starts with NOT
|
void |
setNegative(boolean negative)
Sets the negative flag (i.e. the media query starts with NOT)
|
void |
setType(String type)
Sets the media type.
|
asList, replaceAll, unlockadd, add, addAll, addAll, clear, contains, containsAll, equals, get, hashCode, indexOf, isEmpty, iterator, lastIndexOf, listIterator, listIterator, remove, remove, removeAll, replaceAll, retainAll, set, size, sort, spliterator, subList, toArray, toArrayparallelStream, removeIf, streamvoid setNegative(boolean negative)
negative - boolean isNegative()
void setType(String type)
type - String getType()
null when no type is declaredCopyright © 2018. All rights reserved.