Package javax.el
Class MethodExpression
- java.lang.Object
- 
- javax.el.Expression
- 
- javax.el.MethodExpression
 
 
- 
- All Implemented Interfaces:
- java.io.Serializable
 
 public abstract class MethodExpression extends Expression - See Also:
- Serialized Form
 
- 
- 
Constructor SummaryConstructors Constructor Description MethodExpression()
 - 
Method SummaryAll Methods Instance Methods Abstract Methods Concrete Methods Deprecated Methods Modifier and Type Method Description abstract MethodInfogetMethodInfo(ELContext context)abstract java.lang.Objectinvoke(ELContext context, java.lang.Object[] params)booleanisParametersProvided()booleanisParmetersProvided()Deprecated.- 
Methods inherited from class javax.el.Expressionequals, getExpressionString, hashCode, isLiteralText
 
- 
 
- 
- 
- 
Method Detail- 
getMethodInfopublic abstract MethodInfo getMethodInfo(ELContext context) - Parameters:
- context- The EL context for this evaluation
- Returns:
- Information about the method that this expression resolves to
- Throws:
- java.lang.NullPointerException- If the supplied context is- null
- PropertyNotFoundException- If a property/variable resolution failed because no match was found or a match was found but was not readable
- MethodNotFoundException- If no matching method can be found
- ELException- Wraps any exception throw whilst resolving the property
 
 - 
invokepublic abstract java.lang.Object invoke(ELContext context, java.lang.Object[] params) - Parameters:
- context- The EL context for this evaluation
- params- The parameters with which to invoke this method expression
- Returns:
- The result of invoking this method expression
- Throws:
- java.lang.NullPointerException- If the supplied context is- null
- PropertyNotFoundException- If a property/variable resolution failed because no match was found or a match was found but was not readable
- MethodNotFoundException- If no matching method can be found
- ELException- Wraps any exception throw whilst resolving the property or coercion of the result to the expected return type fails
 
 - 
isParametersProvidedpublic boolean isParametersProvided() - Returns:
- This default implementation always returns false
- Since:
- EL 3.0
 
 - 
isParmetersProvided@Deprecated public boolean isParmetersProvided() Deprecated.- Returns:
- Always false
- Since:
- EL 2.2 Note: The spelling mistake is deliberate. isParmetersProvided() - Specification definition isParametersProvided() - Corrected spelling
 
 
- 
 
-