org.gcube.dataaccess.spd.havingengine.exl
Class HavingFunctions
java.lang.Object
org.gcube.dataaccess.spd.havingengine.exl.HavingFunctions
public class HavingFunctions
- extends Object
- Author:
- "Federico De Faveri defaveri@isti.cnr.it"
|
Constructor Summary |
HavingFunctions(org.apache.commons.jexl2.JexlContext context)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
logger
protected static org.slf4j.Logger logger
expression_cache
protected static Map<String,XPathExpression> expression_cache
context
protected HavingContext<?> context
HavingFunctions
public HavingFunctions(org.apache.commons.jexl2.JexlContext context)
- Parameters:
context -
- Throws:
ParserConfigurationException
xpath
public boolean xpath(String xpath)
throws SAXException,
IOException,
XPathExpressionException
- Xpath function.
- Parameters:
xpath - the xpath expression to evaluate.
- Returns:
true if the expression is evaluated true, false otherwise.
- Throws:
SAXException - if an error occurs.
IOException - if an error occurs.
XPathExpressionException - if an error occurs.
getExpression
protected XPathExpression getExpression(String xpathExpression)
throws XPathExpressionException
- Retrieved the compiled expression.
- Parameters:
xpathExpression -
- Returns:
-
- Throws:
XPathExpressionException
buildExpression
protected XPathExpression buildExpression(String xpathExpression)
throws XPathExpressionException
- Compiles the passed expression
- Parameters:
xpathExpression -
- Returns:
-
- Throws:
XPathExpressionException
exl
public boolean exl(String exlExpression)
- EXL function.
- Parameters:
exlExpression - the exl expression to evaluate.
- Returns:
lucio
public boolean lucio(String expression)
Copyright © 2014. All Rights Reserved.