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:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description ContextAwareTagMethodExpression()ContextAwareTagMethodExpression(TagAttribute tagAttribute, jakarta.el.MethodExpression methodExpression)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object obj)StringgetExpressionString()LocationgetLocation()jakarta.el.MethodInfogetMethodInfo(jakarta.el.ELContext context)StringgetQName()jakarta.el.MethodExpressiongetWrapped()inthashCode()Objectinvoke(jakarta.el.ELContext context, Object[] params)booleanisLiteralText()voidreadExternal(ObjectInput in)StringtoString()voidwriteExternal(ObjectOutput out)
-
-
-
Constructor Detail
-
ContextAwareTagMethodExpression
public ContextAwareTagMethodExpression()
-
ContextAwareTagMethodExpression
public ContextAwareTagMethodExpression(TagAttribute tagAttribute, jakarta.el.MethodExpression methodExpression)
-
-
Method Detail
-
getMethodInfo
public jakarta.el.MethodInfo getMethodInfo(jakarta.el.ELContext context)
- Specified by:
getMethodInfoin classjakarta.el.MethodExpression
-
invoke
public Object invoke(jakarta.el.ELContext context, Object[] params)
- Specified by:
invokein classjakarta.el.MethodExpression
-
getExpressionString
public String getExpressionString()
- Specified by:
getExpressionStringin interfaceContextAware- Specified by:
getExpressionStringin classjakarta.el.Expression- Returns:
- expression string, for example "#{bean.actionMethod}" or "success"
-
equals
public boolean equals(Object obj)
- Specified by:
equalsin classjakarta.el.Expression
-
hashCode
public int hashCode()
- Specified by:
hashCodein classjakarta.el.Expression
-
isLiteralText
public boolean isLiteralText()
- Specified by:
isLiteralTextin classjakarta.el.Expression
-
writeExternal
public void writeExternal(ObjectOutput out) throws IOException
- Specified by:
writeExternalin interfaceExternalizable- Throws:
IOException
-
readExternal
public void readExternal(ObjectInput in) throws IOException, ClassNotFoundException
- Specified by:
readExternalin interfaceExternalizable- Throws:
IOExceptionClassNotFoundException
-
getLocation
public Location getLocation()
- Specified by:
getLocationin interfaceLocationAware- Returns:
- the
Locationinstance where this object exists/is related to
-
getQName
public String getQName()
- Specified by:
getQNamein interfaceContextAware- Returns:
- qName of XML attribute, for example "action" or "value"
-
getWrapped
public jakarta.el.MethodExpression getWrapped()
- Specified by:
getWrappedin interfaceFacesWrapper<jakarta.el.MethodExpression>
-
-