public class AliasVariableMapper
extends javax.el.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(javax.faces.context.FacesContext ctx,
AliasVariableMapper vm) |
List<String> |
getBlockedPatterns() |
String |
getId() |
static AliasVariableMapper |
getVariableMapper(javax.faces.context.FacesContext ctx,
String id) |
javax.el.VariableMapper |
getVariableMapperForBuild(javax.el.VariableMapper orig) |
Map<String,javax.el.ValueExpression> |
getVariables() |
boolean |
hasVariables(String variable) |
static void |
removeAliasesExposedToRequest(javax.faces.context.FacesContext ctx,
String id) |
javax.el.ValueExpression |
resolveVariable(String variable) |
void |
setBlockedPatterns(List<String> blockedPatterns) |
void |
setId(String id) |
javax.el.ValueExpression |
setVariable(String variable,
javax.el.ValueExpression expression) |
String |
toString() |
public static final String REQUEST_MARKER
public AliasVariableMapper()
public AliasVariableMapper(String id)
public String getId()
public void setId(String id)
public javax.el.ValueExpression resolveVariable(String variable)
resolveVariable
in class javax.el.VariableMapper
public javax.el.ValueExpression setVariable(String variable, javax.el.ValueExpression expression)
setVariable
in class javax.el.VariableMapper
public boolean hasVariables(String variable)
public javax.el.VariableMapper getVariableMapperForBuild(javax.el.VariableMapper orig)
public static AliasVariableMapper getVariableMapper(javax.faces.context.FacesContext ctx, String id)
public static void exposeAliasesToRequest(javax.faces.context.FacesContext ctx, AliasVariableMapper vm)
public static void removeAliasesExposedToRequest(javax.faces.context.FacesContext ctx, String id)
Copyright © 2015 Nuxeo SA. All rights reserved.