public static class ConditionFactory.ClassCondition extends java.lang.Object implements Condition
Condition.Context, Condition.ToTagConvertable| Modifier and Type | Field and Description |
|---|---|
java.lang.String |
id
Class identifier
|
(package private) boolean |
not |
| Constructor and Description |
|---|
ClassCondition(java.lang.String id,
boolean not)
Constructs a new
ClassCondition. |
| Modifier and Type | Method and Description |
|---|---|
boolean |
applies(Environment env)
Checks if the condition applies in the given MapCSS
Environment. |
java.lang.String |
toString() |
public ClassCondition(java.lang.String id, boolean not)
ClassCondition.id - idnot - negation or notpublic boolean applies(Environment env)
ConditionEnvironment.public java.lang.String toString()
toString in class java.lang.Object