net.sf.saxon.expr
public class ErrorExpression extends ComputedExpression
Constructor Summary | |
---|---|
ErrorExpression(XPathException exception)
Constructor |
Method Summary | |
---|---|
int | computeCardinality()
Determine the static cardinality |
void | display(int level, NamePool pool, PrintStream out)
Diagnostic print of expression structure |
Item | evaluateItem(XPathContext context)
Evaluate the expression. |
ItemType | getItemType(TypeHierarchy th)
Determine the data type of the expression, if possible |
SequenceIterator | iterate(XPathContext context)
Iterate over the expression. |
Expression | optimize(Optimizer opt, StaticContext env, ItemType contextItemType) |
Expression | typeCheck(StaticContext env, ItemType contextItemType)
Type-check the expression. |
Parameters: exception the error found when parsing this expression
Parameters: th
Returns: Type.ITEM (meaning not known in advance)