net.sf.saxon.expr
public final class ItemChecker extends UnaryExpression
| Constructor Summary | |
|---|---|
| ItemChecker(Expression sequence, ItemType itemType, RoleLocator role)
Constructor | |
| Method Summary | |
|---|---|
| protected String | displayOperator(NamePool pool)
Give a string representation of the operator for use in diagnostics |
| boolean | equals(Object other)
Is this expression the same as another expression? |
| Item | evaluateItem(XPathContext context)
Evaluate as an Item. |
| int | getImplementationMethod()
An implementation of Expression must provide at least one of the methods evaluateItem(), iterate(), or process().
|
| ItemType | getItemType(TypeHierarchy th)
Determine the data type of the items returned by the expression |
| ItemType | getRequiredType()
Get the required type |
| SequenceIterator | iterate(XPathContext context)
Iterate over the sequence of values |
| void | process(XPathContext context)
Process the instruction, without returning any tail calls
|
| Expression | simplify(StaticContext env)
Simplify an expression |
| Expression | typeCheck(StaticContext env, ItemType contextItemType)
Type-check the expression |
Returns: the operator, as a string
Parameters: th
Parameters: context The dynamic context, giving access to the current node, the current variables, etc.