| 
|||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||
java.lang.Objectnet.sf.saxon.expr.Expression
net.sf.saxon.instruct.Instruction
net.sf.saxon.instruct.GeneralVariable
net.sf.saxon.instruct.LocalParam
public final class LocalParam
The compiled form of an xsl:param element in the stylesheet or an
 external variable in 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.expr.Expression | 
|---|
EVALUATE_METHOD, ITERATE_METHOD, PROCESS_METHOD | 
| Constructor Summary | |
|---|---|
LocalParam()
 | 
|
| Method Summary | |
|---|---|
 ValueRepresentation | 
evaluateVariable(XPathContext c)
Evaluate the variable  | 
 int | 
getInstructionNameCode()
Get the name of this instruction for diagnostic and tracing purposes  | 
 Iterator | 
iterateSubExpressions()
Get all the XPath expressions associated with this instruction (in XSLT terms, the expression present on attributes of the instruction, as distinct from the child instructions in a sequence construction)  | 
 TailCall | 
processLeavingTail(XPathContext context)
Process the local parameter declaration  | 
 boolean | 
replaceSubExpression(Expression original,
                     Expression replacement)
Replace one subexpression by a replacement subexpression  | 
 void | 
setConversion(Expression convertor)
Define a conversion that is to be applied to the supplied parameter value.  | 
| Methods inherited from class net.sf.saxon.instruct.GeneralVariable | 
|---|
display, evaluateItem, getCardinality, getItemType, getLocalSlotNumber, getNameCode, getRequiredType, getSelectExpression, getSelectValue, getSlotNumber, getVariableFingerprint, getVariableName, init, isAssignable, isGlobal, isImplicitlyRequiredParam, isRequiredParam, isTunnelParam, iterate, optimize, setAssignable, setImplicitlyRequiredParam, setNameCode, setReferenceCount, setRequiredParam, setRequiredType, setSelectExpression, setSlotNumber, setTunnel, setVariableName, simplify, typeCheck | 
| Methods inherited from class net.sf.saxon.instruct.Instruction | 
|---|
appendItem, computeCardinality, computeSpecialProperties, createsNewNodes, evaluateAsString, getImplementationMethod, getInstructionInfo, getSourceLocator, isXSLT, process, promote | 
| Methods inherited from class java.lang.Object | 
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
| Methods inherited from interface javax.xml.transform.SourceLocator | 
|---|
getColumnNumber, getLineNumber, getPublicId, getSystemId | 
| Constructor Detail | 
|---|
public LocalParam()
| Method Detail | 
|---|
public void setConversion(Expression convertor)
convertor - public int getInstructionNameCode()
getInstructionNameCode in class GeneralVariablepublic Iterator iterateSubExpressions()
iterateSubExpressions in class GeneralVariable
public boolean replaceSubExpression(Expression original,
                                    Expression replacement)
replaceSubExpression in interface ContainerreplaceSubExpression in class GeneralVariableoriginal - the original subexpressionreplacement - the replacement subexpression
public TailCall processLeavingTail(XPathContext context)
                            throws XPathException
processLeavingTail in interface TailCallReturnerprocessLeavingTail in class Instructioncontext - The dynamic context of the transformation, giving access to the current node,
 the current variables, etc.
XPathExceptionpublic ValueRepresentation evaluateVariable(XPathContext c)
  | 
|||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||