Package javax.el
Class MethodExpression
java.lang.Object
javax.el.Expression
javax.el.MethodExpression
- All Implemented Interfaces:
Serializable
- See Also:
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionabstract MethodInfo
getMethodInfo
(ELContext context) abstract Object
boolean
boolean
Deprecated.Methods inherited from class javax.el.Expression
equals, getExpressionString, hashCode, isLiteralText
-
Constructor Details
-
MethodExpression
public MethodExpression()
-
-
Method Details
-
getMethodInfo
- Parameters:
context
- The EL context for this evaluation- Returns:
- Information about the method that this expression resolves to
- Throws:
NullPointerException
- If the supplied context isnull
PropertyNotFoundException
- If a property/variable resolution failed because no match was found or a match was found but was not readableMethodNotFoundException
- If no matching method can be foundELException
- Wraps any exception throw whilst resolving the property
-
invoke
- 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:
NullPointerException
- If the supplied context isnull
PropertyNotFoundException
- If a property/variable resolution failed because no match was found or a match was found but was not readableMethodNotFoundException
- If no matching method can be foundELException
- Wraps any exception throw whilst resolving the property or coercion of the result to the expected return type fails
-
isParametersProvided
public boolean isParametersProvided()- Returns:
- This default implementation always returns
false
- Since:
- EL 3.0
-
isParmetersProvided
Deprecated.- Returns:
- Always
false
- Since:
- EL 2.2 Note: The spelling mistake is deliberate. isParmetersProvided() - Specification definition isParametersProvided() - Corrected spelling
-
isParametersProvided()