java.io.Externalizable, java.io.Serializablepublic class MethodExpressionLiteral
extends javax.el.MethodExpression
implements java.io.Externalizable
| Constructor | Description |
|---|---|
MethodExpressionLiteral() |
|
MethodExpressionLiteral(java.lang.String expr,
java.lang.Class<?> expectedType,
java.lang.Class<?>[] paramTypes) |
| Modifier and Type | Method | Description |
|---|---|---|
boolean |
equals(java.lang.Object obj) |
|
java.lang.String |
getExpressionString() |
|
javax.el.MethodInfo |
getMethodInfo(javax.el.ELContext context) |
|
int |
hashCode() |
|
java.lang.Object |
invoke(javax.el.ELContext context,
java.lang.Object[] params) |
|
boolean |
isLiteralText() |
|
void |
readExternal(java.io.ObjectInput in) |
|
void |
writeExternal(java.io.ObjectOutput out) |
public MethodExpressionLiteral()
public MethodExpressionLiteral(java.lang.String expr,
java.lang.Class<?> expectedType,
java.lang.Class<?>[] paramTypes)
public javax.el.MethodInfo getMethodInfo(javax.el.ELContext context)
throws javax.el.ELException
getMethodInfo in class javax.el.MethodExpressioncontext - The EL context for this evaluationjavax.el.PropertyNotFoundException - If a property/variable resolution failed because no match
was found or a match was found but was not readablejavax.el.MethodNotFoundException - If no matching method can be foundjavax.el.ELException - Wraps any exception throw whilst resolving the propertypublic java.lang.Object invoke(javax.el.ELContext context,
java.lang.Object[] params)
throws javax.el.ELException
invoke in class javax.el.MethodExpressioncontext - The EL context for this evaluationparams - The parameters with which to invoke this method expressionjavax.el.PropertyNotFoundException - If a property/variable resolution failed because no match
was found or a match was found but was not readablejavax.el.MethodNotFoundException - If no matching method can be foundjavax.el.ELException - Wraps any exception throw whilst resolving the property or
coercion of the result to the expected return type failspublic java.lang.String getExpressionString()
getExpressionString in class javax.el.Expressionpublic boolean equals(java.lang.Object obj)
equals in class javax.el.Expressionpublic int hashCode()
hashCode in class javax.el.Expressionpublic boolean isLiteralText()
isLiteralText in class javax.el.Expressionpublic void readExternal(java.io.ObjectInput in)
throws java.io.IOException,
java.lang.ClassNotFoundException
readExternal in interface java.io.Externalizablejava.io.IOExceptionjava.lang.ClassNotFoundExceptionpublic void writeExternal(java.io.ObjectOutput out)
throws java.io.IOException
writeExternal in interface java.io.Externalizablejava.io.IOExceptionCopyright © 2000-2019 Apache Software Foundation. All Rights Reserved.