net.sf.saxon.expr
public class SuppliedParameterReference extends ComputedExpression
| Field Summary | |
|---|---|
| int | slotNumber |
| Constructor Summary | |
|---|---|
| SuppliedParameterReference(int slot)
Constructor | |
| Method Summary | |
|---|---|
| int | computeCardinality()
Get the static cardinality |
| void | display(int level, NamePool pool, PrintStream out)
Diagnostic print of expression structure |
| boolean | equals(Object other)
Test if this expression is the same as another expression.
|
| Item | evaluateItem(XPathContext c) |
| ItemType | getItemType(TypeHierarchy th)
Determine the data type of the expression, if possible. |
| SequenceIterator | iterate(XPathContext c)
Get the value of this expression in a given context. |
| Expression | optimize(Optimizer opt, StaticContext env, ItemType contextItemType) |
| Expression | simplify(StaticContext env)
Simplify the expression. |
| Expression | typeCheck(StaticContext env, ItemType contextItemType) |
Parameters: slot identifies this parameter
Returns: ZERO_OR_MORE, because we don't know the type of the supplied value in advance.
Parameters: th
Returns: Type.ITEM, because we don't know the type of the supplied value in advance.
Parameters: c the XPathContext which contains the relevant variable bindings
Returns: the value of the variable, if it is defined
Throws: XPathException if the variable is undefined