| java.lang.Object net.sf.saxon.expr.ComputedExpression net.sf.saxon.expr.ErrorExpression
ErrorExpression | public class ErrorExpression extends ComputedExpression (Code) | | Error expression: this expression is generated when the supplied expression cannot be
parsed, and the containing element enables forwards-compatible processing. It defers
the generation of an error message until an attempt is made to evaluate the expression
|
ErrorExpression | public ErrorExpression(XPathException exception)(Code) | | Constructor
Parameters: exception - the error found when parsing this expression |
computeCardinality | public int computeCardinality()(Code) | | Determine the static cardinality
|
evaluateItem | public Item evaluateItem(XPathContext context) throws XPathException(Code) | | Evaluate the expression. This always throws the exception registered when the expression
was first parsed.
|
getItemType | public ItemType getItemType(TypeHierarchy th)(Code) | | Determine the data type of the expression, if possible
Type.ITEM (meaning not known in advance) Parameters: th - |
|
|