public static class XPath30Parser.TemporaryXSLTVariableBinding extends Object implements Binding
Constructor and Description |
---|
XPath30Parser.TemporaryXSLTVariableBinding(SourceBinding decl) |
Modifier and Type | Method and Description |
---|---|
void |
addReference(boolean isLoopingReference)
Register a variable reference that refers to the variable bound in this expression
|
Sequence |
evaluateVariable(XPathContext context)
Evaluate the variable
|
IntegerValue[] |
getIntegerBoundsForVariable()
If the variable is bound to an integer, get the minimum and maximum possible values.
|
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.
|
public XPath30Parser.TemporaryXSLTVariableBinding(SourceBinding decl)
public SequenceType getRequiredType()
Binding
getRequiredType
in interface Binding
public Sequence evaluateVariable(XPathContext context) throws XPathException
Binding
evaluateVariable
in interface Binding
context
- the XPath dynamic evaluation contextXPathException
- if an error occurs while evaluating
the variablepublic boolean isGlobal()
Binding
public boolean isAssignable()
Binding
isAssignable
in interface Binding
public int getLocalSlotNumber()
Binding
getLocalSlotNumber
in interface Binding
public StructuredQName getVariableQName()
Binding
getVariableQName
in interface Binding
public void addReference(boolean isLoopingReference)
Binding
addReference
in interface Binding
isLoopingReference
- - true if the reference occurs within a loop, such as the predicate
of a filter expressionpublic IntegerValue[] getIntegerBoundsForVariable()
Binding
getIntegerBoundsForVariable
in interface Binding
Copyright (c) 2004-2013 Saxonica Limited. All rights reserved.