net.sf.saxon.expr
Interface Binding

All Known Implementing Classes:
Assignation, DefiningVariable, UserFunctionParameter, 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
 java.lang.String getVariableName()
          Get the display name of the variable (for diagnostics only)
 

Method Detail

getRequiredType

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


evaluateVariable

public Value evaluateVariable(XPathContext context)
                       throws XPathException
Evaluate the variable

XPathException

getVariableName

public java.lang.String getVariableName()
Get the display name of the variable (for diagnostics only)