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