public static class MapCSSRule.Declaration extends java.lang.Object
Instruction
sModifier 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.Declaration
instructions
- The instructions for this dectlarationidx
- The index in the StyleSource
public void execute(Environment env)
Executes the instructions against the environment env
env
- the environmentpublic int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public java.lang.String toString()
toString
in class java.lang.Object