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

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

public final class ContextAwareTagMethodExpression
extends javax.el.MethodExpression
implements Externalizable, FacesWrapper<javax.el.MethodExpression>, ContextAware

Version:
$Id: ContextAwareTagMethodExpression.java 1187700 2011-10-22 12:19:37Z bommel $
Author:
Jacob Hookom
See Also:
Serialized Form

Constructor Summary
ContextAwareTagMethodExpression()
           
ContextAwareTagMethodExpression(TagAttribute tagAttribute, javax.el.MethodExpression methodExpression)
           
 
Method Summary
 boolean equals(Object obj)
           
 String getExpressionString()
           
 Location getLocation()
           
 javax.el.MethodInfo getMethodInfo(javax.el.ELContext context)
           
 String getQName()
           
 javax.el.MethodExpression getWrapped()
           
 int hashCode()
           
 Object invoke(javax.el.ELContext context, Object[] params)
           
 boolean isLiteralText()
           
 void readExternal(ObjectInput in)
           
 String toString()
           
 void writeExternal(ObjectOutput out)
           
 
Methods inherited from class javax.el.MethodExpression
isParmetersProvided
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ContextAwareTagMethodExpression

public ContextAwareTagMethodExpression()

ContextAwareTagMethodExpression

public ContextAwareTagMethodExpression(TagAttribute tagAttribute,
                                       javax.el.MethodExpression methodExpression)
Method Detail

getMethodInfo

public javax.el.MethodInfo getMethodInfo(javax.el.ELContext context)
Specified by:
getMethodInfo in class javax.el.MethodExpression

invoke

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

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"

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

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


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