public class GlobalVariableReference extends VariableReference implements ComponentInvocation
binding, constantValue, staticTypeEFFECTIVE_BOOLEAN_VALUE, EVALUATE_METHOD, ITEM_FEED_METHOD, ITERATE_METHOD, locationId, MAX_SEQUENCE_LENGTH, MAX_STRING_LENGTH, PROCESS_METHOD, staticProperties, UNBOUNDED_LOWER, UNBOUNDED_UPPER, WATCH_METHOD| Constructor and Description |
|---|
GlobalVariableReference() |
GlobalVariableReference(GlobalVariable var) |
| Modifier and Type | Method and Description |
|---|---|
Expression |
copy()
Create a clone copy of this VariableReference
|
Sequence |
evaluateVariable(XPathContext c)
Evaluate this variable
|
int |
getBindingSlot()
Get the binding slot to be used.
|
SymbolicName |
getSymbolicName()
Get the symbolic name of the component that this invocation references
|
Component |
getTarget() |
void |
setBindingSlot(int slot)
Set the binding slot to be used.
|
addToPathMap, computeCardinality, computeSpecialProperties, copyFrom, equals, evaluateItem, explain, fixup, getBinding, getDisplayName, getEQName, getExpressionCompiler, getImplementationMethod, getIntegerBounds, getIntrinsicDependencies, getItemType, getStreamingAdjunct, hashCode, isCompatible, isFiltered, isFlattened, isInLoop, iterate, optimize, process, promote, refineVariableType, setFiltered, setFlattened, setStaticType, toShortString, toString, typeCheckadoptChildExpression, checkForUpdatingSubexpressions, checkPermittedContents, clearStreamabilityData, computeDependencies, computeStaticProperties, doPromotion, dynamicError, effectiveBooleanValue, evaluateAsString, evaluatePendingUpdates, explain, getCardinality, getColumnNumber, getConfiguration, getConstructType, getContainer, getDependencies, getEvaluationMethod, getExpressionName, getHostLanguage, getLineNumber, getLocationId, getObjectName, getPosture, getProperties, getProperty, getPublicId, getSlotsUsed, getSpecialProperties, getStreamability, getSweep, getSystemId, hasVariableBinding, identityHashCode, implementsStaticTypeCheck, isIdentical, isSubtreeExpression, isUpdatingExpression, isVacuousExpression, iterateEvents, makeStreamingAdjunct, markTailFunctionCalls, operandList, operands, replaceOperand, resetLocalStaticProperties, setContainer, setEvaluationMethod, setLocationId, setPostureAndSweep, simplify, staticTypeCheck, suppressValidation, toPattern, toStreamingPattern, typeError, unorderedpublic GlobalVariableReference()
public GlobalVariableReference(GlobalVariable var)
public Expression copy()
VariableReferencecopy in class VariableReferencepublic void setBindingSlot(int slot)
setBindingSlot in interface ComponentInvocationslot - the offset in the binding vector of the containing package where the target component
can be found.public int getBindingSlot()
getBindingSlot in interface ComponentInvocationpublic SymbolicName getSymbolicName()
getSymbolicName in interface ComponentInvocationpublic Component getTarget()
public Sequence evaluateVariable(XPathContext c) throws XPathException
evaluateVariable in class VariableReferencec - the XPath dynamic contextXPathException - if any error occursCopyright (c) 2004-2014 Saxonica Limited. All rights reserved.