public class AliasVariableMapper extends VariableMapper
AliasValueExpression
instances can be resolved.
It also builds the VariableMapper
to use when building the component
tree, so that AliasValueExpression
instances are kept in component
attributes, even on ajax rerender.
Modifier and Type | Field and Description |
---|---|
static String |
REQUEST_MARKER |
Constructor and Description |
---|
AliasVariableMapper() |
AliasVariableMapper(String id) |
Modifier and Type | Method and Description |
---|---|
static void |
exposeAliasesToRequest(FacesContext facesContext,
AliasVariableMapper vm) |
List<String> |
getBlockedPatterns() |
String |
getId() |
static AliasVariableMapper |
getVariableMapper(FacesContext facesContext,
String id) |
VariableMapper |
getVariableMapperForBuild(VariableMapper orig) |
Map<String,ValueExpression> |
getVariables() |
static void |
removeAliasesExposedToRequest(FacesContext facesContext,
String id) |
ValueExpression |
resolveVariable(String variable) |
void |
setBlockedPatterns(List<String> blockedPatterns) |
void |
setId(String id) |
ValueExpression |
setVariable(String variable,
ValueExpression expression) |
public static final String REQUEST_MARKER
public AliasVariableMapper()
public AliasVariableMapper(String id)
public String getId()
public void setId(String id)
public ValueExpression resolveVariable(String variable)
resolveVariable
in class VariableMapper
public ValueExpression setVariable(String variable, ValueExpression expression)
setVariable
in class VariableMapper
public VariableMapper getVariableMapperForBuild(VariableMapper orig)
public Map<String,ValueExpression> getVariables()
public static AliasVariableMapper getVariableMapper(FacesContext facesContext, String id)
public static void exposeAliasesToRequest(FacesContext facesContext, AliasVariableMapper vm)
public static void removeAliasesExposedToRequest(FacesContext facesContext, String id)
Copyright © 2013 Nuxeo SA. All Rights Reserved.