Assign
, Assignation
, EagerLetExpression
, ForExpression
, GeneralVariable
, GlobalParam
, GlobalVariable
, JAXPVariable
, LetExpression
, LocalParam
, LocalVariable
, PositionVariable
, QuantifiedExpression
, UserFunctionParameter
, WithParam
, XPathVariable
public interface Binding
Modifier and Type | Method | Description |
---|---|---|
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.
|
SequenceType getRequiredType()
ValueRepresentation evaluateVariable(XPathContext context) throws XPathException
context
- the XPath dynamic evaluation contextXPathException
boolean isGlobal()
boolean isAssignable()
int getLocalSlotNumber()
StructuredQName getVariableQName()