Class ContextAwareTagValueExpression

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

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

    • ContextAwareTagValueExpression

      public ContextAwareTagValueExpression()
    • ContextAwareTagValueExpression

      public ContextAwareTagValueExpression(Location location, String qName, jakarta.el.ValueExpression valueExpression)
    • ContextAwareTagValueExpression

      public ContextAwareTagValueExpression(TagAttribute tagAttribute, jakarta.el.ValueExpression valueExpression)
  • Method Details

    • getExpectedType

      public Class<?> getExpectedType()
      Specified by:
      getExpectedType in class jakarta.el.ValueExpression
    • getType

      public Class<?> getType(jakarta.el.ELContext context)
      Specified by:
      getType in class jakarta.el.ValueExpression
    • getValue

      public Object getValue(jakarta.el.ELContext context)
      Specified by:
      getValue in class jakarta.el.ValueExpression
    • isReadOnly

      public boolean isReadOnly(jakarta.el.ELContext context)
      Specified by:
      isReadOnly in class jakarta.el.ValueExpression
    • setValue

      public void setValue(jakarta.el.ELContext context, Object value)
      Specified by:
      setValue in class jakarta.el.ValueExpression
    • equals

      public boolean equals(Object obj)
      Specified by:
      equals in class jakarta.el.Expression
    • 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"
    • hashCode

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

      public boolean isLiteralText()
      Specified by:
      isLiteralText in class jakarta.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
    • toString

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

      public jakarta.el.ValueExpression getWrapped()
      Specified by:
      getWrapped in interface FacesWrapper<jakarta.el.ValueExpression>
    • 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"
    • getValueReference

      public jakarta.el.ValueReference getValueReference(jakarta.el.ELContext context)
      Overrides:
      getValueReference in class jakarta.el.ValueExpression