org.apache.myfaces.view.facelets.el
Class ContextAwareTagValueExpression

java.lang.Object
  extended by javax.el.Expression
      extended by javax.el.ValueExpression
          extended by org.apache.myfaces.view.facelets.el.ContextAwareTagValueExpression
All Implemented Interfaces:
Externalizable, Serializable, FacesWrapper<javax.el.ValueExpression>, ContextAware, LocationAware
Direct Known Subclasses:
ContextAwareTagValueExpressionUEL

public class ContextAwareTagValueExpression
extends javax.el.ValueExpression
implements Externalizable, FacesWrapper<javax.el.ValueExpression>, ContextAware

Version:
$Id: ContextAwareTagValueExpression.java 1194849 2011-10-29 09:28:45Z struberg $
Author:
Jacob Hookom
See Also:
Serialized Form

Constructor Summary
ContextAwareTagValueExpression()
           
ContextAwareTagValueExpression(TagAttribute tagAttribute, javax.el.ValueExpression valueExpression)
           
 
Method Summary
 boolean equals(Object obj)
           
 Class<?> getExpectedType()
           
 String getExpressionString()
           
 Location getLocation()
           
 String getQName()
           
 Class<?> getType(javax.el.ELContext context)
           
 Object getValue(javax.el.ELContext context)
           
 javax.el.ValueExpression getWrapped()
           
 int hashCode()
           
 boolean isLiteralText()
           
 boolean isReadOnly(javax.el.ELContext context)
           
 void readExternal(ObjectInput in)
           
 void setValue(javax.el.ELContext context, Object value)
           
 String toString()
           
 void writeExternal(ObjectOutput out)
           
 
Methods inherited from class javax.el.ValueExpression
getValueReference
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ContextAwareTagValueExpression

public ContextAwareTagValueExpression()

ContextAwareTagValueExpression

public ContextAwareTagValueExpression(TagAttribute tagAttribute,
                                      javax.el.ValueExpression valueExpression)
Method Detail

getExpectedType

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

getType

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

getValue

public Object getValue(javax.el.ELContext context)
Specified by:
getValue in class javax.el.ValueExpression

isReadOnly

public boolean isReadOnly(javax.el.ELContext context)
Specified by:
isReadOnly in class javax.el.ValueExpression

setValue

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

equals

public boolean equals(Object obj)
Specified by:
equals in class javax.el.Expression

getExpressionString

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

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

toString

public String toString()
Overrides:
toString in class Object

getWrapped

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


Copyright © 2014 The Apache Software Foundation. All Rights Reserved.