org.apache.myfaces.view.facelets.el
Class LocationValueExpression
java.lang.Object
javax.el.Expression
javax.el.ValueExpression
org.apache.myfaces.view.facelets.el.LocationValueExpression
- All Implemented Interfaces:
- Externalizable, Serializable, FacesWrapper<javax.el.ValueExpression>
- Direct Known Subclasses:
- LocationValueExpressionUEL
public class LocationValueExpression
- extends javax.el.ValueExpression
- implements FacesWrapper<javax.el.ValueExpression>, Externalizable
A ValueExpression that contains the original ValueExpression and
the Location of the facelet file from which the ValueExpression was
created. This is needed when the current composite component (cc)
has to be resolved by the ValueExpression, because #{cc} refers to the
composite component which is implemented in the file the ValueExpression
comes from and not the one currently on top of the composite component stack.
This ValueExpression implementation passes through all methods to the delegate
ValueExpression, but saves the related composite component in a FacesContext attribute
before the invocation of the method on the delegate and removes it afterwards.
- Version:
- $Revision: 1142032 $ $Date: 2011-07-01 14:14:25 -0500 (Fri, 01 Jul 2011) $
- Author:
- Jakob Korherr (latest modification by $Author: lu4242 $)
- See Also:
- Serialized Form
Methods inherited from class javax.el.ValueExpression |
getValueReference |
LocationValueExpression
public LocationValueExpression()
LocationValueExpression
public LocationValueExpression(Location location,
javax.el.ValueExpression delegate)
getLocation
public Location getLocation()
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 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
getWrapped
public javax.el.ValueExpression getWrapped()
- Specified by:
getWrapped
in interface FacesWrapper<javax.el.ValueExpression>
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
Copyright © 2012 The Apache Software Foundation. All Rights Reserved.