Class ContextAwareTagMethodExpression

java.lang.Object
jakarta.el.Expression
jakarta.el.MethodExpression
org.apache.myfaces.view.facelets.el.ContextAwareTagMethodExpression
All Implemented Interfaces:
FacesWrapper<jakarta.el.MethodExpression>, Externalizable, Serializable, ContextAware, LocationAware

public final class ContextAwareTagMethodExpression extends jakarta.el.MethodExpression implements Externalizable, FacesWrapper<jakarta.el.MethodExpression>, ContextAware
Version:
$Id$
Author:
Jacob Hookom
See Also:
  • Constructor Details

    • ContextAwareTagMethodExpression

      public ContextAwareTagMethodExpression()
    • ContextAwareTagMethodExpression

      public ContextAwareTagMethodExpression(TagAttribute tagAttribute, jakarta.el.MethodExpression methodExpression)
  • Method Details

    • getMethodInfo

      public jakarta.el.MethodInfo getMethodInfo(jakarta.el.ELContext context)
      Specified by:
      getMethodInfo in class jakarta.el.MethodExpression
    • invoke

      public Object invoke(jakarta.el.ELContext context, Object[] params)
      Specified by:
      invoke in class jakarta.el.MethodExpression
    • getExpressionString

      public String getExpressionString()
      Specified by:
      getExpressionString in interface ContextAware
      Specified by:
      getExpressionString in class jakarta.el.Expression
      Returns:
      expression string, for example "#{bean.actionMethod}" or "success"
    • equals

      public boolean equals(Object obj)
      Specified by:
      equals in class jakarta.el.Expression
    • hashCode

      public int hashCode()
      Specified by:
      hashCode in class jakarta.el.Expression
    • isLiteralText

      public boolean isLiteralText()
      Specified by:
      isLiteralText in class jakarta.el.Expression
    • writeExternal

      public void writeExternal(ObjectOutput out) throws IOException
      Specified by:
      writeExternal in interface Externalizable
      Throws:
      IOException
    • readExternal

      public void readExternal(ObjectInput in) throws IOException, ClassNotFoundException
      Specified by:
      readExternal in interface Externalizable
      Throws:
      IOException
      ClassNotFoundException
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • getLocation

      public Location getLocation()
      Specified by:
      getLocation in interface LocationAware
      Returns:
      the Location instance where this object exists/is related to
    • getQName

      public String getQName()
      Specified by:
      getQName in interface ContextAware
      Returns:
      qName of XML attribute, for example "action" or "value"
    • getWrapped

      public jakarta.el.MethodExpression getWrapped()
      Specified by:
      getWrapped in interface FacesWrapper<jakarta.el.MethodExpression>