net.sf.saxon.expr
Interface Binding

All Known Implementing Classes:
Assignation, DefiningVariable, ForExpression, LetExpression, Param, QuantifiedExpression, UserFunctionParameter, Variable, Variable

public interface Binding

Binding is a interface used to represent the run-time properties and methods associated with a variable: specifically, methods to get the name, type, and value of the variable.


Method Summary
 Value evaluateVariable(XPathContext context)
          Evaluate the variable
 SequenceType getRequiredType()
          Get the static type of the variable binding
 String getVariableName()
          Get the display name of the variable (for diagnostics only)
 

Method Detail

getRequiredType

SequenceType getRequiredType()
Get the static type of the variable binding


evaluateVariable

Value evaluateVariable(XPathContext context)
                       throws XPathException
Evaluate the variable

Throws:
XPathException

getVariableName

String getVariableName()
Get the display name of the variable (for diagnostics only)