public class CommonsExpressionLanguageImpl extends Object implements CommonsExpressionLanguage
| Constructor and Description |
|---|
CommonsExpressionLanguageImpl(org.mule.runtime.api.el.ExpressionLanguage 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. |
public CommonsExpressionLanguageImpl(org.mule.runtime.api.el.ExpressionLanguage expressionLanguage)
public CommonsExpressionLanguageValue evaluateJson(String expression, CommonsBindingContext commonsBindingContext)
CommonsExpressionLanguageCommonsBindingContext and the global one.evaluateJson in interface CommonsExpressionLanguageexpression - the expression which expected output type must be a JSONcommonsBindingContext - the current dynamic binding context to considerCommonsExpressionLanguageValue result of the expressionpublic CommonsExpressionLanguageValue evaluateXml(String expression, CommonsBindingContext commonsBindingContext)
CommonsExpressionLanguageCommonsBindingContext and the global one.evaluateXml in interface CommonsExpressionLanguageexpression - the expression which expected output type must be an XMLcommonsBindingContext - the current dynamic binding context to considerCommonsExpressionLanguageValue result of the expressionpublic String evaluateAsJavaString(String expression, CommonsBindingContext commonsBindingContext)
CommonsExpressionLanguageCommonsBindingContext and the global one.evaluateAsJavaString in interface CommonsExpressionLanguageexpression - the expression which expected output type must be a Java StringcommonsBindingContext - the current dynamic binding context to considerpublic Boolean evaluateAsJavaBoolean(String expression, CommonsBindingContext commonsBindingContext)
CommonsExpressionLanguageCommonsBindingContext and the global one.evaluateAsJavaBoolean in interface CommonsExpressionLanguageexpression - the expression which expected output type must be a Java BooleancommonsBindingContext - the current dynamic binding context to considerpublic Number evaluateAsJavaNumber(String expression, CommonsBindingContext commonsBindingContext)
CommonsExpressionLanguageCommonsBindingContext and the global one.evaluateAsJavaNumber in interface CommonsExpressionLanguageexpression - the expression which expected output type must be a Java NumbercommonsBindingContext - the current dynamic binding context to considerpublic CommonsExpressionLanguageValue evaluate(String expression, CommonsBindingContext commonsBindingContext, org.mule.runtime.api.metadata.DataType dataType)
CommonsExpressionLanguageCommonsBindingContext and the global one and a specific data type.evaluate in interface CommonsExpressionLanguageexpression - 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 expressionCopyright © 2023. All rights reserved.