public final class JspMethodExpression extends MethodExpression implements Externalizable
| Constructor and Description |
|---|
JspMethodExpression() |
JspMethodExpression(String mark,
MethodExpression target) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
String |
getExpressionString() |
MethodInfo |
getMethodInfo(ELContext context) |
int |
hashCode() |
Object |
invoke(ELContext context,
Object[] params) |
boolean |
isLiteralText() |
boolean |
isParametersProvided() |
void |
readExternal(ObjectInput in) |
void |
writeExternal(ObjectOutput out) |
isParmetersProvidedpublic JspMethodExpression()
public JspMethodExpression(String mark, MethodExpression target)
public MethodInfo getMethodInfo(ELContext context) throws NullPointerException, PropertyNotFoundException, MethodNotFoundException, ELException
getMethodInfo in class MethodExpressioncontext - The EL context for this evaluationNullPointerException - If the supplied context is nullPropertyNotFoundException - 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 Object invoke(ELContext context, Object[] params) throws NullPointerException, PropertyNotFoundException, MethodNotFoundException, ELException
invoke in class MethodExpressioncontext - The EL context for this evaluationparams - The parameters with which to invoke this method expressionNullPointerException - If the supplied context is nullPropertyNotFoundException - 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()
isParametersProvided in class MethodExpressionfalsepublic boolean equals(Object obj)
equals in class Expressionpublic int hashCode()
hashCode in class Expressionpublic String getExpressionString()
getExpressionString in class Expressionpublic boolean isLiteralText()
isLiteralText in class Expressionpublic void writeExternal(ObjectOutput out) throws IOException
writeExternal in interface ExternalizableIOExceptionpublic void readExternal(ObjectInput in) throws IOException, ClassNotFoundException
readExternal in interface ExternalizableIOExceptionClassNotFoundExceptionCopyright © 2000-2022 Apache Software Foundation. All Rights Reserved.