Package net.sf.jasperreports.json.util
Class DefaultJsonQLExecuter
- java.lang.Object
-
- net.sf.jasperreports.json.util.DefaultJsonQLExecuter
-
- All Implemented Interfaces:
JsonQLExecuter
public class DefaultJsonQLExecuter extends Object implements JsonQLExecuter
- Author:
- Narcis Marcu (narcism@users.sourceforge.net)
-
-
Constructor Summary
Constructors Constructor Description DefaultJsonQLExecuter()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description JsonNodeContainer
evaluateExpression(JRJsonNode jrJsonNode, String expression)
JsonQLExpressionEvaluator
getEvaluator()
protected JsonQLExpression
getJsonQLExpression(String expression)
JRJsonNode
selectNode(JRJsonNode contextNode, JRJsonNode rootNode, String expression)
List<JRJsonNode>
selectNodes(JRJsonNode rootNode, String expression)
-
-
-
Method Detail
-
selectNodes
public List<JRJsonNode> selectNodes(JRJsonNode rootNode, String expression) throws JRException
- Specified by:
selectNodes
in interfaceJsonQLExecuter
- Throws:
JRException
-
selectNode
public JRJsonNode selectNode(JRJsonNode contextNode, JRJsonNode rootNode, String expression) throws JRException
- Specified by:
selectNode
in interfaceJsonQLExecuter
- Throws:
JRException
-
evaluateExpression
public JsonNodeContainer evaluateExpression(JRJsonNode jrJsonNode, String expression)
-
getEvaluator
public JsonQLExpressionEvaluator getEvaluator()
-
getJsonQLExpression
protected JsonQLExpression getJsonQLExpression(String expression)
-
-