javax.el.ELContext.
ELContext's constructor is protected to control creation of ELContext
objects through their appropriate factory methods. This version of
ELContext forces construction through FacesContextImpl.
| Modifier and Type | Class and Description |
|---|---|
| private static class | |
| private static class |
| Modifier and Type | Field and Description |
|---|---|
| private FunctionMapper | |
| private ELResolver | |
| private VariableMapper |
| Access | Constructor and Description |
|---|---|
| public | ELContextImpl(ELResolver
the ELResolver to return from resolver)getELResolver()Constructs a new ELContext associated with the given ELResolver. |
| Modifier and Type | Method and Description |
|---|---|
| public ELResolver | getELResolver()
Implements abstract javax. ELResolver associated with this context.
|
| public FunctionMapper | getFunctionMapper()
Implements abstract javax. FunctionMapper associated with this
ELContext.
|
| public VariableMapper | getVariableMapper()
Implements abstract javax. VariableMapper associated with this
ELContext.
|
| public void |
| functionMapper | back to summary |
|---|---|
| private FunctionMapper functionMapper | |
| resolver | back to summary |
|---|---|
| private ELResolver resolver | |
| variableMapper | back to summary |
|---|---|
| private VariableMapper variableMapper | |
| ELContextImpl | back to summary |
|---|---|
| public ELContextImpl(ELResolver resolver) Constructs a new ELContext associated with the given ELResolver.
| |
| getELResolver | back to summary |
|---|---|
| public ELResolver getELResolver() Implements abstract javax. Doc from javax. Retrieves the The Once an
| |
| getFunctionMapper | back to summary |
|---|---|
| public FunctionMapper getFunctionMapper() Implements abstract javax. Doc from javax. Retrieves the
| |
| getVariableMapper | back to summary |
|---|---|
| public VariableMapper getVariableMapper() Implements abstract javax. Doc from javax. Retrieves the
| |
| setFunctionMapper | back to summary |
|---|---|
| public void setFunctionMapper(FunctionMapper functionMapper) | |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| public Method | resolveFunction(String
the prefix of the function, or "" if no prefix.
For example, s, String "fn" in ${fn:method()}, or
"" in ${method()}.the short name of the function. For example,
s1)"method" in ${fn:method()}.Implements abstract javax. java.lang.Method.
|
| NoopFunctionMapper | back to summary |
|---|---|
| private NoopFunctionMapper() | |
| resolveFunction | back to summary |
|---|---|
| public Method resolveFunction(String s, String s1) Implements abstract javax. Doc from javax. Resolves the specified prefix and local name into a
Returns
| |
| Modifier and Type | Field and Description |
|---|---|
| private Map |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public ValueExpression | resolveVariable(String
The variable name s)Implements abstract javax. |
| public ValueExpression | setVariable(String
The variable name s, ValueExpression The ValueExpression to be assigned
to the variable. valueExpression)Implements abstract javax. |
| variables | back to summary |
|---|---|
| private Map<String, ValueExpression> variables | |
| VariableMapperImpl | back to summary |
|---|---|
| public VariableMapperImpl() | |
| resolveVariable | back to summary |
|---|---|
| public ValueExpression resolveVariable(String s) Implements abstract javax.
| |
| setVariable | back to summary |
|---|---|
| public ValueExpression setVariable(String s, ValueExpression valueExpression) Implements abstract javax. Doc from javax. Assign a ValueExpression to an EL variable, replacing
any previously assignment to the same variable.
The assignment for the variable is removed if
the expression is
| |