net.sf.saxon.expr
public final class IsLastExpression extends ComputedExpression
| Constructor Summary | |
|---|---|
| IsLastExpression(boolean condition)
Construct a condition that tests position() eq last() (if condition
is true) or position() ne last() (if condition is false). | |
| Method Summary | |
|---|---|
| int | computeCardinality()
Determine the static cardinality |
| int | computeSpecialProperties()
Determine the special properties of this expression |
| void | display(int level, NamePool pool, PrintStream out)
Diagnostic print of expression structure |
| Item | evaluateItem(XPathContext c) |
| boolean | getCondition() |
| int | getIntrinsicDependencies()
Get the dependencies of this expression on the context |
| ItemType | getItemType(TypeHierarchy th)
Determine the data type of the expression |
| Expression | optimize(Optimizer opt, StaticContext env, ItemType contextItemType) |
| Expression | simplify(StaticContext env) |
| Expression | typeCheck(StaticContext env, ItemType contextItemType) |
Returns: NON_CREATIVE.
Parameters: th
Returns: Type.BOOLEAN