public class ReadOnlyMapELResolver
extends javax.el.ELResolver
ELResolver that exposed object values in the map, under the name of the entry's key. The values in the map are only returned when requested property has no 'base', meaning it's a
root-object.| Modifier and Type | Field and Description |
|---|---|
protected Map<Object,Object> |
wrappedMap |
| Constructor and Description |
|---|
ReadOnlyMapELResolver(Map<Object,Object> map) |
| Modifier and Type | Method and Description |
|---|---|
Class<?> |
getCommonPropertyType(javax.el.ELContext context,
Object arg) |
Iterator<FeatureDescriptor> |
getFeatureDescriptors(javax.el.ELContext context,
Object arg) |
Class<?> |
getType(javax.el.ELContext context,
Object arg1,
Object arg2) |
Object |
getValue(javax.el.ELContext context,
Object base,
Object property) |
boolean |
isReadOnly(javax.el.ELContext context,
Object base,
Object property) |
void |
setValue(javax.el.ELContext context,
Object base,
Object property,
Object value) |
public Object getValue(javax.el.ELContext context, Object base, Object property)
getValue in class javax.el.ELResolverpublic boolean isReadOnly(javax.el.ELContext context,
Object base,
Object property)
isReadOnly in class javax.el.ELResolverpublic void setValue(javax.el.ELContext context,
Object base,
Object property,
Object value)
setValue in class javax.el.ELResolverpublic Class<?> getCommonPropertyType(javax.el.ELContext context, Object arg)
getCommonPropertyType in class javax.el.ELResolverpublic Iterator<FeatureDescriptor> getFeatureDescriptors(javax.el.ELContext context, Object arg)
getFeatureDescriptors in class javax.el.ELResolverCopyright © 2016 Alfresco. All rights reserved.