|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object
|
+--net.sf.saxon.expr.ComputedExpression
|
+--net.sf.saxon.instruct.Instruction
|
+--net.sf.saxon.instruct.GeneralVariable
|
+--net.sf.saxon.instruct.GlobalVariable
|
+--net.sf.saxon.instruct.GlobalParam
The compiled form of a global xsl:param element in the stylesheet or an
external variable declared in the prolog of a Query.
The xsl:param element in XSLT has mandatory attribute name and optional attribute select. It can also
be specified as required="yes" or required="no". In standard XQuery external variables are always required,
and no default value can be specified; but Saxon provides an extension pragma that allows a query
to specify a default.
| Field Summary |
| Fields inherited from class net.sf.saxon.instruct.GeneralVariable |
nameCode |
| Fields inherited from class net.sf.saxon.expr.ComputedExpression |
locationId, staticProperties |
| Fields inherited from interface net.sf.saxon.expr.Expression |
EVALUATE_METHOD, ITERATE_METHOD, PROCESS_METHOD |
| Constructor Summary | |
GlobalParam()
|
|
| Method Summary | |
Value |
evaluateVariable(XPathContext context)
Evaluate the variable |
int |
getInstructionNameCode()
Get the name of this instruction for diagnostic and tracing purposes |
| Methods inherited from class net.sf.saxon.instruct.GlobalVariable |
getExecutable, getInstructionInfo, getSelectValue, isGlobal, processLeavingTail, setContainsLocals, setExecutable |
| Methods inherited from class net.sf.saxon.instruct.GeneralVariable |
analyze, display, evaluateItem, getCardinality, getItemType, getNameCode, getRequiredType, getSelectExpression, getSlotNumber, getVariableFingerprint, getVariableName, init, isAssignable, isRequiredParam, isTunnelParam, iterate, iterateSubExpressions, promoteInst, setAssignable, setNameCode, setRequiredParam, setRequiredType, setSelectExpression, setSlotNumber, setTunnel, setVariableName, simplify |
| Methods inherited from class net.sf.saxon.instruct.Instruction |
appendItem, assembleParams, assembleTunnelParams, computeCardinality, computeSpecialProperties, dynamicError, dynamicError, effectiveBooleanValue, evaluateAsString, getImplementationMethod, getSourceLocator, process, promote |
| Methods inherited from class net.sf.saxon.expr.ComputedExpression |
adoptChildExpression, computeDependencies, computeStaticProperties, dynamicError, dynamicError, getColumnNumber, getConstructType, getDependencies, getIntrinsicDependencies, getLineNumber, getLocationId, getParentExpression, getPublicId, getSpecialProperties, getSystemId, markTailFunctionCalls, resetStaticProperties, setLocationId, setParentExpression, typeError |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface javax.xml.transform.SourceLocator |
getColumnNumber, getLineNumber, getPublicId, getSystemId |
| Constructor Detail |
public GlobalParam()
| Method Detail |
public int getInstructionNameCode()
getInstructionNameCode in class GeneralVariable
public Value evaluateVariable(XPathContext context)
throws XPathException
evaluateVariable in interface BindingevaluateVariable in class GlobalVariableXPathException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||