Package org.apache.el
Class MethodExpressionLiteral
- java.lang.Object
- 
- javax.el.Expression
- 
- javax.el.MethodExpression
- 
- org.apache.el.MethodExpressionLiteral
 
 
 
- 
- All Implemented Interfaces:
- java.io.Externalizable,- java.io.Serializable
 
 public class MethodExpressionLiteral extends MethodExpression implements java.io.Externalizable - See Also:
- Serialized Form
 
- 
- 
Constructor SummaryConstructors Constructor Description MethodExpressionLiteral()MethodExpressionLiteral(java.lang.String expr, java.lang.Class<?> expectedType, java.lang.Class<?>[] paramTypes)
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(java.lang.Object obj)java.lang.StringgetExpressionString()MethodInfogetMethodInfo(ELContext context)inthashCode()java.lang.Objectinvoke(ELContext context, java.lang.Object[] params)booleanisLiteralText()voidreadExternal(java.io.ObjectInput in)voidwriteExternal(java.io.ObjectOutput out)- 
Methods inherited from class javax.el.MethodExpressionisParametersProvided, isParmetersProvided
 
- 
 
- 
- 
- 
Method Detail- 
getMethodInfopublic MethodInfo getMethodInfo(ELContext context) throws ELException - Specified by:
- getMethodInfoin class- MethodExpression
- Parameters:
- context- The EL context for this evaluation
- Returns:
- Information about the method that this expression resolves to
- Throws:
- 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 java.lang.Object invoke(ELContext context, java.lang.Object[] params) throws ELException - Specified by:
- invokein class- MethodExpression
- 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:
- 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
 
 - 
getExpressionStringpublic java.lang.String getExpressionString() - Specified by:
- getExpressionStringin class- Expression
 
 - 
equalspublic boolean equals(java.lang.Object obj) - Specified by:
- equalsin class- Expression
 
 - 
hashCodepublic int hashCode() - Specified by:
- hashCodein class- Expression
 
 - 
isLiteralTextpublic boolean isLiteralText() - Specified by:
- isLiteralTextin class- Expression
 
 - 
readExternalpublic void readExternal(java.io.ObjectInput in) throws java.io.IOException, java.lang.ClassNotFoundException- Specified by:
- readExternalin interface- java.io.Externalizable
- Throws:
- java.io.IOException
- java.lang.ClassNotFoundException
 
 - 
writeExternalpublic void writeExternal(java.io.ObjectOutput out) throws java.io.IOException- Specified by:
- writeExternalin interface- java.io.Externalizable
- Throws:
- java.io.IOException
 
 
- 
 
-