public class InstructionSequence extends Object
| Constructor and Description |
|---|
InstructionSequence() |
| Modifier and Type | Method and Description |
|---|---|
void |
addBoolean(boolean value)
Adds a bool value.
|
void |
addInteger(int value)
Adds an int value.
|
void |
addName(String name)
Add a name (ex.
|
void |
addProc(InstructionSequence child)
Adds a proc (sub-sequence of instructions).
|
void |
addReal(float value)
Adds a real value.
|
void |
execute(ExecutionContext context)
Executes the instruction sequence.
|
public void addName(String name)
name - the namepublic void addInteger(int value)
value - the valuepublic void addReal(float value)
value - the valuepublic void addBoolean(boolean value)
value - the valuepublic void addProc(InstructionSequence child)
child - the child procpublic void execute(ExecutionContext context)
context - the execution contextCopyright © 2002–2022 The Apache Software Foundation. All rights reserved.