| 
|||||||
| 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.WithParam
public class WithParam
An instruction derived from a xsl:with-param element in the stylesheet. 
| Field Summary | 
|---|
| Fields inherited from class net.sf.saxon.expr.Expression | 
|---|
EVALUATE_METHOD, ITERATE_METHOD, PROCESS_METHOD | 
| Constructor Summary | |
|---|---|
WithParam()
 | 
|
| Method Summary | |
|---|---|
 ValueRepresentation | 
evaluateVariable(XPathContext context)
Evaluate the variable (method exists only to satisfy the interface)  | 
 int | 
getInstructionNameCode()
Get the namecode of the instruction for use in diagnostics  | 
static void | 
getXPathExpressions(WithParam[] params,
                    List list)
Get the XPath expressions used in an array of WithParam parameters (add them to the supplied list)  | 
static void | 
optimize(Optimizer opt,
         WithParam[] params,
         StaticContext env,
         ItemType contextItemType)
 | 
 TailCall | 
processLeavingTail(XPathContext context)
ProcessLeavingTail: called to do the real work of this instruction.  | 
static void | 
promoteParams(WithParam[] params,
              PromotionOffer offer)
Promote the expressions in a set of with-param elements.  | 
static boolean | 
replaceXPathExpression(WithParam[] params,
                       Expression original,
                       Expression replacement)
Replace a subexpression  | 
static void | 
simplify(WithParam[] params,
         StaticContext env)
 | 
static void | 
typeCheck(WithParam[] params,
          StaticContext env,
          ItemType contextItemType)
 | 
| 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 WithParam()
| Method Detail | 
|---|
public int getInstructionNameCode()
Instruction
getInstructionNameCode in class GeneralVariable
public TailCall processLeavingTail(XPathContext context)
                            throws XPathException
Instruction
processLeavingTail in interface TailCallReturnerprocessLeavingTail in class Instructioncontext - The dynamic context of the transformation, giving access to the current node,
 the current variables, etc.
XPathException
public static void simplify(WithParam[] params,
                            StaticContext env)
                     throws XPathException
XPathException
public static void typeCheck(WithParam[] params,
                             StaticContext env,
                             ItemType contextItemType)
                      throws XPathException
XPathException
public static void optimize(Optimizer opt,
                            WithParam[] params,
                            StaticContext env,
                            ItemType contextItemType)
                     throws XPathException
XPathException
public static void promoteParams(WithParam[] params,
                                 PromotionOffer offer)
                          throws XPathException
XPathException
public static void getXPathExpressions(WithParam[] params,
                                       List list)
public static boolean replaceXPathExpression(WithParam[] params,
                                             Expression original,
                                             Expression replacement)
public ValueRepresentation evaluateVariable(XPathContext context)
                                     throws XPathException
XPathException
  | 
|||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||