public static class MapCSSRule.Declaration extends java.lang.Object
Instructions| Modifier and Type | Field and Description |
|---|---|
int |
idx
The index of this declaration
|
java.util.List<Instruction> |
instructions
The instructions in this declaration
|
| Constructor and Description |
|---|
Declaration(java.util.List<Instruction> instructions,
int idx)
Create a new
MapCSSRule.Declaration |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object obj) |
void |
execute(Environment env)
Executes the instructions against the environment
env |
int |
hashCode() |
java.lang.String |
toString() |
public final java.util.List<Instruction> instructions
public final int idx
declarations in the StyleSource are numbered consecutively
public Declaration(java.util.List<Instruction> instructions, int idx)
MapCSSRule.Declarationinstructions - The instructions for this dectlarationidx - The index in the StyleSourcepublic void execute(Environment env)
Executes the instructions against the environment env
env - the environmentpublic int hashCode()
hashCode in class java.lang.Objectpublic boolean equals(java.lang.Object obj)
equals in class java.lang.Objectpublic java.lang.String toString()
toString in class java.lang.Object