org.exolab.adaptx.xpath.engine

Class ErrorExpr

public class ErrorExpr extends Object implements XPathExpression

Simple interface for XSL Expressions

Version: $Revision: 3737 $ $Id: ErrorExpr.java 3737 2003-05-13 07:59:57Z kvisco $

Author: Keith Visco

Method Summary
XPathResultevaluate(XPathContext context)
Evaluates the expression and returns the XPath result.
shortgetExprType()
Returns the type of Expr this Expr represents
StringtoString()

Method Detail

evaluate

public XPathResult evaluate(XPathContext context)
Evaluates the expression and returns the XPath result.

Parameters: context The XPathContext to use during evaluation.

Returns: The XPathResult (not null).

Throws: XPathException if an error occured while evaluating this expression.

getExprType

public short getExprType()
Returns the type of Expr this Expr represents

Returns: the type of Expr this Expr represents

toString

public String toString()