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:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description ContextAwareTagValueExpression()
ContextAwareTagValueExpression(TagAttribute tagAttribute, jakarta.el.ValueExpression valueExpression)
ContextAwareTagValueExpression(Location location, String qName, jakarta.el.ValueExpression valueExpression)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object obj)
Class<?>
getExpectedType()
String
getExpressionString()
Location
getLocation()
String
getQName()
Class<?>
getType(jakarta.el.ELContext context)
Object
getValue(jakarta.el.ELContext context)
jakarta.el.ValueReference
getValueReference(jakarta.el.ELContext context)
jakarta.el.ValueExpression
getWrapped()
int
hashCode()
boolean
isLiteralText()
boolean
isReadOnly(jakarta.el.ELContext context)
void
readExternal(ObjectInput in)
void
setValue(jakarta.el.ELContext context, Object value)
String
toString()
void
writeExternal(ObjectOutput out)
-
-
-
Constructor Detail
-
ContextAwareTagValueExpression
public ContextAwareTagValueExpression()
-
ContextAwareTagValueExpression
public ContextAwareTagValueExpression(Location location, String qName, jakarta.el.ValueExpression valueExpression)
-
ContextAwareTagValueExpression
public ContextAwareTagValueExpression(TagAttribute tagAttribute, jakarta.el.ValueExpression valueExpression)
-
-
Method Detail
-
getExpectedType
public Class<?> getExpectedType()
- Specified by:
getExpectedType
in classjakarta.el.ValueExpression
-
getType
public Class<?> getType(jakarta.el.ELContext context)
- Specified by:
getType
in classjakarta.el.ValueExpression
-
getValue
public Object getValue(jakarta.el.ELContext context)
- Specified by:
getValue
in classjakarta.el.ValueExpression
-
isReadOnly
public boolean isReadOnly(jakarta.el.ELContext context)
- Specified by:
isReadOnly
in classjakarta.el.ValueExpression
-
setValue
public void setValue(jakarta.el.ELContext context, Object value)
- Specified by:
setValue
in classjakarta.el.ValueExpression
-
equals
public boolean equals(Object obj)
- Specified by:
equals
in classjakarta.el.Expression
-
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"
-
hashCode
public int hashCode()
- Specified by:
hashCode
in classjakarta.el.Expression
-
isLiteralText
public boolean isLiteralText()
- Specified by:
isLiteralText
in classjakarta.el.Expression
-
readExternal
public void readExternal(ObjectInput in) throws IOException, ClassNotFoundException
- Specified by:
readExternal
in interfaceExternalizable
- Throws:
IOException
ClassNotFoundException
-
writeExternal
public void writeExternal(ObjectOutput out) throws IOException
- Specified by:
writeExternal
in interfaceExternalizable
- Throws:
IOException
-
getWrapped
public jakarta.el.ValueExpression getWrapped()
- Specified by:
getWrapped
in interfaceFacesWrapper<jakarta.el.ValueExpression>
-
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"
-
getValueReference
public jakarta.el.ValueReference getValueReference(jakarta.el.ELContext context)
- Overrides:
getValueReference
in classjakarta.el.ValueExpression
-
-