Class VariableMapperFactory
java.lang.Object
javax.el.VariableMapper
org.apache.el.lang.VariableMapperFactory
Factory for creating variable mappers that track variable resolutions.
-
Constructor Summary
ConstructorsConstructorDescriptionVariableMapperFactory(VariableMapper target) Constructs a new VariableMapperFactory. -
Method Summary
Modifier and TypeMethodDescriptioncreate()Returns the momento mapper containing all resolved variables.resolveVariable(String variable) setVariable(String variable, ValueExpression expression)
-
Constructor Details
-
VariableMapperFactory
Constructs a new VariableMapperFactory.- Parameters:
target- The target variable mapper to delegate to- Throws:
NullPointerException- if target is null
-
-
Method Details
-
create
Returns the momento mapper containing all resolved variables.- Returns:
- the momento mapper, or
nullif no variables have been resolved
-
resolveVariable
- Specified by:
resolveVariablein classVariableMapper
-
setVariable
- Specified by:
setVariablein classVariableMapper
-