org.exolab.adaptx.xpath.engine

Class SelectExpr

public final class SelectExpr extends Object implements XPathExpression

This class represents a SelectExpr
 [1] SelectExpr ::= UnionExpr
 

Version: $Revision: 3737 $ $Date: 2003-05-13 03:59:57 -0400 (Tue, 13 May 2003) $

Author: Keith Visco

Constructor Summary
SelectExpr()
Creates a new SelectExpr.
Method Summary
XPathResultevaluate(XPathContext context)
Evaluates the expression and returns the XPath result.
shortgetExprType()
UnionExprgetUnionExpr()
StringtoString()

Constructor Detail

SelectExpr

public SelectExpr()
Creates a new SelectExpr. This SelectExpr will select the empty node set by default.

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()

getUnionExpr

public UnionExpr getUnionExpr()

toString

public String toString()