Class MethodExpressionLiteral
java.lang.Object
javax.el.Expression
javax.el.MethodExpression
org.apache.el.MethodExpressionLiteral
-
Constructor Summary
ConstructorsConstructorDescriptionMethodExpressionLiteral(String expr, Class<?> expectedType, Class<?>[] paramTypes) -
Method Summary
Modifier and TypeMethodDescriptionbooleangetMethodInfo(ELContext context) inthashCode()booleanvoidvoidMethods inherited from class javax.el.MethodExpression
isParametersProvided, isParmetersProvided
-
Constructor Details
-
MethodExpressionLiteral
public MethodExpressionLiteral() -
MethodExpressionLiteral
-
-
Method Details
-
getMethodInfo
- Specified by:
getMethodInfoin classMethodExpression- Parameters:
context- The EL context for this evaluation- Returns:
- Information about the method that this expression resolves to
- Throws:
ELException- Wraps any exception throw whilst resolving the property
-
invoke
- Specified by:
invokein classMethodExpression- Parameters:
context- The EL context for this evaluationparams- The parameters with which to invoke this method expression- Returns:
- The result of invoking this method expression
- Throws:
ELException- Wraps any exception throw whilst resolving the property or coercion of the result to the expected return type fails
-
getExpressionString
- Specified by:
getExpressionStringin classExpression
-
equals
- Specified by:
equalsin classExpression
-
hashCode
public int hashCode()- Specified by:
hashCodein classExpression
-
isLiteralText
public boolean isLiteralText()- Specified by:
isLiteralTextin classExpression
-
readExternal
- Specified by:
readExternalin interfaceExternalizable- Throws:
IOExceptionClassNotFoundException
-
writeExternal
- Specified by:
writeExternalin interfaceExternalizable- Throws:
IOException
-