org.basex.query.xpath.expr
Class InterSect
java.lang.Object
org.basex.query.xpath.expr.Expr
org.basex.query.xpath.expr.ArrayExpr
org.basex.query.xpath.expr.InterSect
public final class InterSect
- extends ArrayExpr
XPath Intersect Expression. This expresses the intersection of two node sets.
- Author:
- Workgroup DBIS, University of Konstanz 2005-07, ISC License, Tim Petrowsky
| Fields inherited from class org.basex.query.xpath.expr.ArrayExpr |
exprs |
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
InterSect
public InterSect(Expr[] e)
- Constructor.
- Parameters:
e - operands expression
compile
public Expr compile(XPContext ctx)
throws EvalException
- Description copied from class:
Expr
- Tries to optimize the Expression.
- Specified by:
compile in class Expr
- Parameters:
ctx - expression context
- Returns:
- optimized Expression
- Throws:
EvalException - evaluation exception
eval
public NodeSet eval(XPContext ctx)
throws EvalException
- Description copied from class:
Expr
- Evaluates the expression with the specified context set. Additionally
provides a context
- Specified by:
eval in class Expr
- Parameters:
ctx - query context
- Returns:
- resulting XPathValue
- Throws:
EvalException - evaluation exception