Package org.activiti.engine.impl.el
Class ReadOnlyMapELResolver
- java.lang.Object
-
- javax.el.ELResolver
-
- org.activiti.engine.impl.el.ReadOnlyMapELResolver
-
public class ReadOnlyMapELResolver extends javax.el.ELResolverAnELResolverthat 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.
-
-
Field Summary
Fields Modifier and Type Field Description protected java.util.Map<java.lang.Object,java.lang.Object>wrappedMap
-
Constructor Summary
Constructors Constructor Description ReadOnlyMapELResolver(java.util.Map<java.lang.Object,java.lang.Object> map)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.Class<?>getCommonPropertyType(javax.el.ELContext context, java.lang.Object arg)java.util.Iterator<java.beans.FeatureDescriptor>getFeatureDescriptors(javax.el.ELContext context, java.lang.Object arg)java.lang.Class<?>getType(javax.el.ELContext context, java.lang.Object arg1, java.lang.Object arg2)java.lang.ObjectgetValue(javax.el.ELContext context, java.lang.Object base, java.lang.Object property)booleanisReadOnly(javax.el.ELContext context, java.lang.Object base, java.lang.Object property)voidsetValue(javax.el.ELContext context, java.lang.Object base, java.lang.Object property, java.lang.Object value)
-
-
-
Method Detail
-
getValue
public java.lang.Object getValue(javax.el.ELContext context, java.lang.Object base, java.lang.Object property)- Specified by:
getValuein classjavax.el.ELResolver
-
isReadOnly
public boolean isReadOnly(javax.el.ELContext context, java.lang.Object base, java.lang.Object property)- Specified by:
isReadOnlyin classjavax.el.ELResolver
-
setValue
public void setValue(javax.el.ELContext context, java.lang.Object base, java.lang.Object property, java.lang.Object value)- Specified by:
setValuein classjavax.el.ELResolver
-
getCommonPropertyType
public java.lang.Class<?> getCommonPropertyType(javax.el.ELContext context, java.lang.Object arg)- Specified by:
getCommonPropertyTypein classjavax.el.ELResolver
-
getFeatureDescriptors
public java.util.Iterator<java.beans.FeatureDescriptor> getFeatureDescriptors(javax.el.ELContext context, java.lang.Object arg)- Specified by:
getFeatureDescriptorsin classjavax.el.ELResolver
-
getType
public java.lang.Class<?> getType(javax.el.ELContext context, java.lang.Object arg1, java.lang.Object arg2)- Specified by:
getTypein classjavax.el.ELResolver
-
-