net.sf.saxon.instruct
public class SlotManager extends Object implements Serializable
Field Summary | |
---|---|
static SlotManager | EMPTY
An empty SlotManager |
Constructor Summary | |
---|---|
SlotManager()
The constructor should not be called directly. | |
SlotManager(int n)
Create a SlotManager with a given number of slots |
Method Summary | |
---|---|
int | allocateSlotNumber(StructuredQName qName)
Allocate a slot number for a variable |
int | getNumberOfVariables()
Get number of variables (size of stack frame) |
List<StructuredQName> | getVariableMap()
Get the variable map (simply a list of variable names as structured QNames). |
void | setNumberOfVariables(int numberOfVariables)
Set the number of variables |
Changed in Saxon 9.0 to return a list of StructuredQName values rather than integers
Parameters: numberOfVariables