java.util.ResourceBundle .
This resolver handles base objects of type java.util.ResourceBundle. It accepts any object as a property
and coerces it to a java.lang.String for invoking
java..
This resolver is read only and will throw a PropertyNotWritableException if setValue is called.
ELResolvers are combined together using CompositeELResolvers, to define rich semantics for
evaluating an expression. See the javadocs for ELResolver for details.
CompositeELResolver, ELResolver, java.util.ResourceBundle
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public Class | Returns: null if base is not a ResourceBundle; otherwise String.class.The context of this evaluation. context, Object The bundle to analyze. Only bases of type base)ResourceBundle are handled by this resolver.Implements abstract jakarta. If the base object is a ResourceBundle, returns the most general type that this resolver accepts for the
|
| public Class | Returns: If thepropertyResolved property of ELContext was set to true, then
null; otherwise undefined.The context of this evaluation. context, Object The ResourceBundle to analyze. base, Object The name of the property to analyze. property)Implements abstract jakarta. If the base object is an instance of |
| public Object | Returns: If thepropertyResolved property of ELContext was set to true, then
null if property is null; otherwise the Object for the given key (property
coerced to String) from the ResourceBundle. If no object for the given key can be found,
then the String "???" + key + "???".The context of this evaluation. context, Object The ResourceBundle to analyze. base, Object The name of the property to analyze. Will be coerced to a property)String.Implements abstract jakarta. If the base object is an instance of |
| public boolean | Returns: If thepropertyResolved property of ELContext was set to true, then
true; otherwise undefined.The context of this evaluation. context, Object The ResourceBundle to be modified. Only bases that are of type ResourceBundle are handled. base, Object The String property to use. property)Implements abstract jakarta. If the base object is not null and an |
| public void | setValue(ELContext
The context of this evaluation. context, Object The ResourceBundle to be modified. Only bases that are of type ResourceBundle are handled. base, Object The String property to use. property, Object The value to be set. value)Implements abstract jakarta. If the base object is a ResourceBundle, throw a |
| ResourceBundleELResolver | back to summary |
|---|---|
| public ResourceBundleELResolver() | |
| getCommonPropertyType | back to summary |
|---|---|
| public Class Implements abstract jakarta. If the base object is a ResourceBundle, returns the most general type that this resolver accepts for the
Assuming the base is a | |
| getType | back to summary |
|---|---|
| public Class Implements abstract jakarta. If the base object is an instance of
If the base is
| |
| getValue | back to summary |
|---|---|
| public Object getValue(ELContext context, Object base, Object property) Implements abstract jakarta. If the base object is an instance of
If the base is
| |
| isReadOnly | back to summary |
|---|---|
| public boolean isReadOnly(ELContext context, Object base, Object property) Implements abstract jakarta. If the base object is not null and an
| |
| setValue | back to summary |
|---|---|
| public void setValue(ELContext context, Object base, Object property, Object value) Implements abstract jakarta. If the base object is a ResourceBundle, throw a
| |