Record.
The resolver handles base objects of type Record. It accepts any non-null object as a property and
coerces it to a String using Object#toString(). The property string is used to find an accessor method for a
field with the same name.
This resolver is always read-only since Records are always read-only.
ELResolvers are combined together using CompositeELResolvers to define rich semantics for evaluating
an expression. See the javadocs for ELResolver for details.
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public Class | getCommonPropertyType(ELContext
The context of this evaluation. context, Object The base)Record to analyze.Implements abstract jakarta. If the base object is an instance of |
| public Class | Returns: AlwaysnullThe context of this evaluation. context, Object The base, Object Record to analyze.The name of the property to analyze. Will be coerced to a String. property)Implements abstract jakarta. If the base object is an instance of |
| public Object | Returns: If thepropertyResolved property of the provided ELContext was set to true then
the value of the given property. Otherwise, undefined.The context of this evaluation. context, Object The base, Object Record on which to get the property.The property to get. Will be coerced to a String. property)Implements abstract jakarta. If the base object is an instance of |
| public boolean | isReadOnly(ELContext
The context of this evaluation. context, Object The base, Object Record to analyze.The name of the property to analyze. Will be coerced to a String. property)Implements abstract jakarta. If the base object is an instance of |
| public void | setValue(ELContext
The context of this evaluation. context, Object The base, Object Record on which to set the property.The name of the property to set. Will be coerced to a String. property, Object The value to set the property or variable to. value)Implements abstract jakarta. If the base object is an instance of |
| RecordELResolver | back to summary |
|---|---|
| public RecordELResolver() | |
| getCommonPropertyType | back to summary |
|---|---|
| public Class Implements abstract jakarta. If the base object is an instance of
If the base object is an instance of | |
| getType | back to summary |
|---|---|
| public Class Implements abstract jakarta. If the base object is an instance of
If the base object is an instance of
| |
| 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 object is an instance of
| |
| isReadOnly | back to summary |
|---|---|
| public boolean isReadOnly(ELContext context, Object base, Object property) Implements abstract jakarta. If the base object is an instance of
If the base object is an instance of
| |
| setValue | back to summary |
|---|---|
| public void setValue(ELContext context, Object base, Object property, Object value) Implements abstract jakarta. If the base object is an instance of
If the base object is an instance of
| |