java.lang.Object
jakarta.el.Expression
jakarta.el.MethodExpression
org.omnifaces.el.MethodExpressionValueExpressionAdapter
- All Implemented Interfaces:
Serializable
This MethodExpression wraps a ValueExpression.
With this wrapper a value expression can be used where a method expression is expected. The return value of the method execution will be the value represented by the value expression.
- Author:
- Arjan Tijms
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionMethodExpressionValueExpressionAdapter(ValueExpression valueExpression) Construct method expression which adapts the given value expression. -
Method Summary
Modifier and TypeMethodDescriptionbooleangetMethodInfo(ELContext context) Returns the underlying value expression.inthashCode()booleanMethods inherited from class jakarta.el.MethodExpression
getMethodReference, isParametersProvided
-
Constructor Details
-
MethodExpressionValueExpressionAdapter
Construct method expression which adapts the given value expression.- Parameters:
valueExpression- Value expression to be adapted to method expression.
-
-
Method Details
-
invoke
- Specified by:
invokein classMethodExpression
-
getMethodInfo
- Specified by:
getMethodInfoin classMethodExpression
-
isLiteralText
public boolean isLiteralText()- Specified by:
isLiteralTextin classExpression
-
hashCode
public int hashCode()- Specified by:
hashCodein classExpression
-
getExpressionString
- Specified by:
getExpressionStringin classExpression
-
equals
- Specified by:
equalsin classExpression
-
getValueExpression
Returns the underlying value expression.- Returns:
- The underlying value expression.
-