org.basex.query.xpath.func
Class ContainsLC
java.lang.Object
org.basex.query.xpath.expr.Expr
org.basex.query.xpath.func.Func
org.basex.query.xpath.func.ContainsLC
public final class ContainsLC
- extends Func
Constructor for BaseX specific containslc() function; compares all
tokens in lower case.
- Author:
- Workgroup DBIS, University of Konstanz 2005-07, ISC License, Christian Gruen
|
Field Summary |
static java.lang.String |
NAME
Name of function. |
| Fields inherited from class org.basex.query.xpath.func.Func |
desc |
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
NAME
public static final java.lang.String NAME
- Name of function.
- See Also:
- Constant Field Values
ContainsLC
public ContainsLC(Expr[] arg)
- Function Constructor.
- Parameters:
arg - expression array
checkArguments
public boolean checkArguments()
- Description copied from class:
Func
- Checks validity/number of arguments.
- Specified by:
checkArguments in class Func
- Returns:
- result of comparison
compile
public Expr compile(XPContext ctx)
throws EvalException
- Description copied from class:
Expr
- Tries to optimize the Expression.
- Overrides:
compile in class Func
- Parameters:
ctx - expression context
- Returns:
- optimized Expression
- Throws:
EvalException - evaluation exception
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