org.exolab.adaptx.xpath.engine
Class SelectExpr
java.lang.Object
org.exolab.adaptx.xpath.engine.SelectExpr
- XPathExpression
public final class SelectExpr
extends java.lang.Object
This class represents a SelectExpr
[1] SelectExpr ::= UnionExpr
$Revision: 1.2 $ $Date: 2003/05/13 07:59:08 $BOOLEAN , ERROR , FILTER_EXPR , LOCATION_PATH , NODE_TEST , NUMBER , PATH_EXPR , PRIMARY , STEP , STRING , UNION_EXPR |
SelectExpr
public SelectExpr()
Creates a new SelectExpr. This SelectExpr will select the
empty node set by default.
getExprType
public short getExprType()
Returns the type of this expression.
- getExprType in interface XPathExpression
- The type of this expression
toString
public String toString()
Returns the XPath expression as a string. The returned value is
a valid XPath expression that can be parsed into an equivalent
XPathExpression
object.
- toString in interface XPathExpression
- The XPath expression as a string