Class LocationMethodExpression
java.lang.Object
jakarta.el.Expression
jakarta.el.MethodExpression
org.apache.myfaces.view.facelets.el.LocationMethodExpression
- All Implemented Interfaces:
- FacesWrapper<jakarta.el.MethodExpression>,- Externalizable,- Serializable,- LocationAware
public class LocationMethodExpression
extends jakarta.el.MethodExpression
implements FacesWrapper<jakarta.el.MethodExpression>, Externalizable, LocationAware
A MethodExpression that contains the original MethodExpression and
 the Location of the facelet file from which the MethodExpression was
 created. This is needed when the current composite component (cc) 
 has to be resolved by the MethodExpression, because #{cc} refers to the
 composite component which is implemented in the file the MethodExpression
 comes from and not the one currently on top of the composite component stack.
 
 This MethodExpression implementation passes through all methods to the delegate
 MethodExpression, 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$ $Date$
- Author:
- Jakob Korherr (latest modification by $Author$)
- See Also:
- 
Constructor SummaryConstructorsConstructorDescriptionLocationMethodExpression(Location location, jakarta.el.MethodExpression delegate) LocationMethodExpression(Location location, jakarta.el.MethodExpression delegate, int ccLevel) 
- 
Method SummaryModifier and TypeMethodDescriptionapply(int newCCLevel) booleanjakarta.el.MethodInfogetMethodInfo(jakarta.el.ELContext context) jakarta.el.MethodExpressioninthashCode()booleanvoidvoidMethods inherited from class jakarta.el.MethodExpressiongetMethodReference, isParametersProvided
- 
Constructor Details- 
LocationMethodExpressionpublic LocationMethodExpression()
- 
LocationMethodExpression
- 
LocationMethodExpressionpublic LocationMethodExpression(Location location, jakarta.el.MethodExpression delegate, int ccLevel) 
 
- 
- 
Method Details- 
getLocation- Specified by:
- getLocationin interface- LocationAware
- Returns:
- the Locationinstance where this object exists/is related to
 
- 
apply
- 
apply
- 
getMethodInfopublic jakarta.el.MethodInfo getMethodInfo(jakarta.el.ELContext context) - Specified by:
- getMethodInfoin class- jakarta.el.MethodExpression
 
- 
invoke- Specified by:
- invokein class- jakarta.el.MethodExpression
 
- 
equals- Specified by:
- equalsin class- jakarta.el.Expression
 
- 
getExpressionString- Specified by:
- getExpressionStringin class- jakarta.el.Expression
 
- 
hashCodepublic int hashCode()- Specified by:
- hashCodein class- jakarta.el.Expression
 
- 
isLiteralTextpublic boolean isLiteralText()- Specified by:
- isLiteralTextin class- jakarta.el.Expression
 
- 
getWrappedpublic jakarta.el.MethodExpression getWrapped()- Specified by:
- getWrappedin interface- FacesWrapper<jakarta.el.MethodExpression>
 
- 
readExternal- Specified by:
- readExternalin interface- Externalizable
- Throws:
- IOException
- ClassNotFoundException
 
- 
writeExternal- Specified by:
- writeExternalin interface- Externalizable
- Throws:
- IOException
 
 
-