org.basex.query.xpath.internal
Class Range
java.lang.Object
org.basex.query.xpath.expr.Expr
org.basex.query.xpath.internal.InternalExpr
org.basex.query.xpath.internal.Range
public final class Range
- extends InternalExpr
RangeExpr Able to perform numeric range queries.
- Author:
- Workgroup DBIS, University of Konstanz 2005-07, ISC License, Christian Gruen
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Range
public Range(Expr e,
Item mn,
Item mx)
- Constructor.
- Parameters:
e - first expressionmn - minimum valuemx - maximum value
eval
public Bool 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
toString
public java.lang.String toString()
- Specified by:
toString in class Expr