org.apache.struts2.el

## Class MethodExpressionLiteral

- java.lang.Object
- - javax.el.Expression
  - - javax.el.MethodExpression
    - - org.apache.struts2.el.MethodExpressionLiteral

- All Implemented Interfaces:
    Externalizable, Serializable

      public class MethodExpressionLiteral
      extends javax.el.MethodExpression
      implements Externalizable

  See Also:
    Serialized Form

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `MethodExpressionLiteral()`
    `MethodExpressionLiteral(String expr, Class expectedType, Class[] paramTypes)`

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `boolean` | `equals(Object obj)`
    `String` | `getExpressionString()`
    `javax.el.MethodInfo` | `getMethodInfo(javax.el.ELContext context)`
    `int` | `hashCode()`
    `Object` | `invoke(javax.el.ELContext context, Object[] params)`
    `boolean` | `isLiteralText()`
    `void` | `readExternal(ObjectInput in)`
    `void` | `writeExternal(ObjectOutput out)`

    - ### Methods inherited from class javax.el.MethodExpression

      `isParametersProvided, isParmetersProvided`

    - ### Methods inherited from class java.lang.Object

      `clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait`

- - ### Constructor Detail

    - #### MethodExpressionLiteral

          public MethodExpressionLiteral()

    - #### MethodExpressionLiteral

          public MethodExpressionLiteral(String expr,
                                         Class expectedType,
                                         Class[] paramTypes)

  - ### Method Detail

    - #### getMethodInfo

          public javax.el.MethodInfo getMethodInfo(javax.el.ELContext context)
                                            throws javax.el.ELException

      Specified by:
        `getMethodInfo` in class `javax.el.MethodExpression`
      Throws:
        `javax.el.ELException`

    - #### invoke

          public Object invoke(javax.el.ELContext context,
                               Object[] params)
                        throws javax.el.ELException

      Specified by:
        `invoke` in class `javax.el.MethodExpression`
      Throws:
        `javax.el.ELException`

    - #### getExpressionString

          public String getExpressionString()

      Specified by:
        `getExpressionString` in class `javax.el.Expression`

    - #### equals

          public boolean equals(Object obj)

      Specified by:
        `equals` in class `javax.el.Expression`

    - #### hashCode

          public int hashCode()

      Specified by:
        `hashCode` in class `javax.el.Expression`

    - #### isLiteralText

          public boolean isLiteralText()

      Specified by:
        `isLiteralText` in class `javax.el.Expression`

    - #### readExternal

          public void readExternal(ObjectInput in)
                            throws IOException,
                                   ClassNotFoundException

      Specified by:
        `readExternal` in interface `Externalizable`
      Throws:
        `IOException`
        `ClassNotFoundException`

    - #### writeExternal

          public void writeExternal(ObjectOutput out)
                             throws IOException

      Specified by:
        `writeExternal` in interface `Externalizable`
      Throws:
        `IOException`

Copyright © 2000–2022 Apache Software Foundation. All rights reserved.