public abstract class MethodExpression extends Expression
Constructor and Description |
---|
MethodExpression() |
Modifier and Type | Method and Description |
---|---|
abstract MethodInfo |
getMethodInfo(ELContext context) |
abstract Object |
invoke(ELContext context,
Object[] params) |
boolean |
isParmetersProvided() |
equals, getExpressionString, hashCode, isLiteralText
public abstract MethodInfo getMethodInfo(ELContext context)
context
- The EL context for this evaluationNullPointerException
- 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 readableMethodNotFoundException
- If no matching method can be foundELException
- Wraps any exception throw whilst resolving the propertypublic abstract Object invoke(ELContext context, Object[] params)
context
- The EL context for this evaluationparams
- The parameters with which to invoke this method expressionNullPointerException
- 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 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 failspublic boolean isParmetersProvided()
false
Copyright © 2000-2021 Apache Software Foundation. All Rights Reserved.