|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.saxonica.expr.XPath30Parser.TemporaryXSLTVariableBinding
public static class XPath30Parser.TemporaryXSLTVariableBinding
| Constructor Summary | |
|---|---|
XPath30Parser.TemporaryXSLTVariableBinding(XSLVariableDeclaration decl)
|
|
| Method Summary | |
|---|---|
void |
addReference(boolean isLoopingReference)
Register a variable reference that refers to the variable bound in this expression |
ValueRepresentation |
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. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public XPath30Parser.TemporaryXSLTVariableBinding(XSLVariableDeclaration decl)
| Method Detail |
|---|
public SequenceType getRequiredType()
Binding
getRequiredType in interface Binding
public ValueRepresentation evaluateVariable(XPathContext context)
throws XPathException
Binding
evaluateVariable in interface Bindingcontext - the XPath dynamic evaluation context
XPathException - if an error occurs while evaluating
the variablepublic boolean isGlobal()
Binding
isGlobal in interface Bindingpublic boolean isAssignable()
Binding
isAssignable in interface Bindingpublic int getLocalSlotNumber()
Binding
getLocalSlotNumber in interface Bindingpublic StructuredQName getVariableQName()
Binding
getVariableQName in interface Bindingpublic void addReference(boolean isLoopingReference)
Binding
addReference in interface BindingisLoopingReference - - true if the reference occurs within a loop, such as the predicate
of a filter expressionpublic IntegerValue[] getIntegerBoundsForVariable()
Binding
getIntegerBoundsForVariable in interface Binding
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||