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 boolean
equals(Object obj)
String
getExpressionString()
Location
getLocation()
jakarta.el.MethodInfo
getMethodInfo(jakarta.el.ELContext context)
String
getQName()
jakarta.el.MethodExpression
getWrapped()
int
hashCode()
Object
invoke(jakarta.el.ELContext context, Object[] params)
boolean
isLiteralText()
void
readExternal(ObjectInput in)
String
toString()
void
writeExternal(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:
getMethodInfo
in classjakarta.el.MethodExpression
-
invoke
public Object invoke(jakarta.el.ELContext context, Object[] params)
- Specified by:
invoke
in classjakarta.el.MethodExpression
-
getExpressionString
public String getExpressionString()
- Specified by:
getExpressionString
in interfaceContextAware
- Specified by:
getExpressionString
in classjakarta.el.Expression
- Returns:
- expression string, for example "#{bean.actionMethod}" or "success"
-
equals
public boolean equals(Object obj)
- Specified by:
equals
in classjakarta.el.Expression
-
hashCode
public int hashCode()
- Specified by:
hashCode
in classjakarta.el.Expression
-
isLiteralText
public boolean isLiteralText()
- Specified by:
isLiteralText
in classjakarta.el.Expression
-
writeExternal
public void writeExternal(ObjectOutput out) throws IOException
- Specified by:
writeExternal
in interfaceExternalizable
- Throws:
IOException
-
readExternal
public void readExternal(ObjectInput in) throws IOException, ClassNotFoundException
- Specified by:
readExternal
in interfaceExternalizable
- Throws:
IOException
ClassNotFoundException
-
getLocation
public Location getLocation()
- Specified by:
getLocation
in interfaceLocationAware
- Returns:
- the
Location
instance where this object exists/is related to
-
getQName
public String getQName()
- Specified by:
getQName
in interfaceContextAware
- Returns:
- qName of XML attribute, for example "action" or "value"
-
getWrapped
public jakarta.el.MethodExpression getWrapped()
- Specified by:
getWrapped
in interfaceFacesWrapper<jakarta.el.MethodExpression>
-
-