net.sf.saxon.expr
public interface Binding
Method Summary | |
---|---|
ValueRepresentation | evaluateVariable(XPathContext context)
Evaluate the variable |
int | getLocalSlotNumber()
If this is a local variable held on the local stack frame, return the corresponding slot number.
|
SequenceType | getRequiredType()
Get the declared type of the variable |
StructuredQName | getVariableQName()
Get the name of the variable |
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. |
Parameters: context the XPath dynamic evaluation context
Returns: the result of evaluating the variable
Returns: the slot number on the local stack frame
Returns: the declared type
Returns: the name of the variable, as a structured QName
Returns: true if the binding is assignable
Returns: true if the binding is global