Class ReadOnlyMapELResolver

java.lang.Object
ELResolver
org.camunda.bpm.engine.impl.el.ReadOnlyMapELResolver

public class ReadOnlyMapELResolver extends ELResolver
An 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.
Author:
Frederik Heremans
  • Field Details

  • Constructor Details

    • ReadOnlyMapELResolver

      public ReadOnlyMapELResolver(Map<Object,Object> map)
  • Method Details

    • getValue

      public Object getValue(ELContext context, Object base, Object property)
    • isReadOnly

      public boolean isReadOnly(ELContext context, Object base, Object property)
    • setValue

      public void setValue(ELContext context, Object base, Object property, Object value)
    • getCommonPropertyType

      public Class<?> getCommonPropertyType(ELContext context, Object arg)
    • getFeatureDescriptors

      public Iterator<FeatureDescriptor> getFeatureDescriptors(ELContext context, Object arg)
    • getType

      public Class<?> getType(ELContext context, Object arg1, Object arg2)