com.sun.faces.application.view
private static interface FaceletViewHandlingStrategy.MethodRetargetHandler
strategy
to
properly retarget a method expression for a particular attribute.Modifier and Type | Method and Description |
---|---|
java.lang.String |
getAttribute() |
void |
retarget(javax.faces.context.FacesContext ctx,
FaceletViewHandlingStrategy.CompCompInterfaceMethodMetadata metadata,
java.lang.Object sourceValue,
javax.faces.component.UIComponent target)
Constructs and retargets a
MethodExpression as appropriate
based on the provided arguments. |
void retarget(javax.faces.context.FacesContext ctx, FaceletViewHandlingStrategy.CompCompInterfaceMethodMetadata metadata, java.lang.Object sourceValue, javax.faces.component.UIComponent target)
MethodExpression
as appropriate
based on the provided arguments.ctx
- the FacesContext
for the current requestmetadata
- the metadata describing the method to be retargetedsourceValue
- typically, this will be a ValueExpression, however,
there are cases where this could be provided as a literal. It basically
represents the attribute value being passed to the composite componenttarget
- the component that will be target of the method expressionjava.lang.String getAttribute()
MethodRetargetHandler
is designed to handleCopyright © 2002-2010 Oracle America, Inc. All Rights Reserved.