net.sf.saxon.expr
public class PositionVariable extends Object implements Binding, Serializable
Constructor Summary | |
---|---|
PositionVariable()
Create a RangeVariable |
Method Summary | |
---|---|
ValueRepresentation | evaluateVariable(XPathContext context)
Get the value of the range variable |
int | getLocalSlotNumber()
If this is a local variable held on the local stack frame, return the corresponding slot number.
|
SequenceType | getRequiredType()
Get the required type (declared type) of the variable |
StructuredQName | getVariableQName()
Get the name of the variable, as a namepool name code |
boolean | isAssignable()
Test whether it is permitted to assign to the variable using the saxon:assign
extension element. |
boolean | isGlobal()
Indicate whether the binding is local or global. |
void | setSlotNumber(int nr)
Set the slot number for the range variable |
void | setVariableQName(StructuredQName variableName)
Set the name of the variable |
Returns: the required type
Returns: the nameCode
Returns: true if the binding is assignable
Returns: true if the binding is global
Parameters: nr the slot number to be used
Parameters: variableName the name of the variable