public interface CommonsExpressionLanguage
ExpressionLanguage| Modifier and Type | Method and Description |
|---|---|
CommonsExpressionLanguageValue |
evaluate(String expression,
CommonsBindingContext commonsBindingContext,
org.mule.runtime.api.metadata.DataType dataType)
Evaluates an expression according to a given
CommonsBindingContext and the global one and a specific data type. |
Boolean |
evaluateAsJavaBoolean(String expression,
CommonsBindingContext commonsBindingContext)
Evaluates an expression according to a given
CommonsBindingContext and the global one. |
Number |
evaluateAsJavaNumber(String expression,
CommonsBindingContext commonsBindingContext)
Evaluates an expression according to a given
CommonsBindingContext and the global one. |
String |
evaluateAsJavaString(String expression,
CommonsBindingContext commonsBindingContext)
Evaluates an expression according to a given
CommonsBindingContext and the global one. |
CommonsExpressionLanguageValue |
evaluateJson(String expression,
CommonsBindingContext commonsBindingContext)
Evaluates an expression according to a given
CommonsBindingContext and the global one. |
CommonsExpressionLanguageValue |
evaluateXml(String expression,
CommonsBindingContext commonsBindingContext)
Evaluates an expression according to a given
CommonsBindingContext and the global one. |
CommonsExpressionLanguageValue evaluateJson(String expression, CommonsBindingContext commonsBindingContext) throws org.mule.runtime.api.el.ExpressionExecutionException
CommonsBindingContext and the global one.expression - the expression which expected output type must be a JSONcommonsBindingContext - the current dynamic binding context to considerCommonsExpressionLanguageValue result of the expressionorg.mule.runtime.api.el.ExpressionExecutionException - when an error occurs during evaluationCommonsExpressionLanguageValue evaluateXml(String expression, CommonsBindingContext commonsBindingContext) throws org.mule.runtime.api.el.ExpressionExecutionException
CommonsBindingContext and the global one.expression - the expression which expected output type must be an XMLcommonsBindingContext - the current dynamic binding context to considerCommonsExpressionLanguageValue result of the expressionorg.mule.runtime.api.el.ExpressionExecutionException - when an error occurs during evaluationCommonsExpressionLanguageValue evaluate(String expression, CommonsBindingContext commonsBindingContext, org.mule.runtime.api.metadata.DataType dataType) throws org.mule.runtime.api.el.ExpressionExecutionException
CommonsBindingContext and the global one and a specific data type.expression - the expression which expected output type must be the same as the dataType parametercommonsBindingContext - the current dynamic binding context to considerdataType - the result data typeCommonsExpressionLanguageValue result of the expressionorg.mule.runtime.api.el.ExpressionExecutionException - when an error occurs during evaluationString evaluateAsJavaString(String expression, CommonsBindingContext commonsBindingContext) throws org.mule.runtime.api.el.ExpressionExecutionException
CommonsBindingContext and the global one.expression - the expression which expected output type must be a Java StringcommonsBindingContext - the current dynamic binding context to considerorg.mule.runtime.api.el.ExpressionExecutionException - when an error occurs during evaluationBoolean evaluateAsJavaBoolean(String expression, CommonsBindingContext commonsBindingContext) throws org.mule.runtime.api.el.ExpressionExecutionException
CommonsBindingContext and the global one.expression - the expression which expected output type must be a Java BooleancommonsBindingContext - the current dynamic binding context to considerorg.mule.runtime.api.el.ExpressionExecutionException - when an error occurs during evaluationNumber evaluateAsJavaNumber(String expression, CommonsBindingContext commonsBindingContext) throws org.mule.runtime.api.el.ExpressionExecutionException
CommonsBindingContext and the global one.expression - the expression which expected output type must be a Java NumbercommonsBindingContext - the current dynamic binding context to considerorg.mule.runtime.api.el.ExpressionExecutionException - when an error occurs during evaluationCopyright © 2023. All rights reserved.