Class SimpleResolver

java.lang.Object
jakarta.el.ELResolver
org.camunda.bpm.impl.juel.SimpleResolver

public class SimpleResolver extends jakarta.el.ELResolver
Simple resolver implementation. This resolver handles root properties (top-level identifiers). Resolving "real" properties (base != null) is delegated to a resolver specified at construction time.
Author:
Christoph Beck
  • Constructor Details

    • SimpleResolver

      public SimpleResolver(jakarta.el.ELResolver resolver, boolean readOnly)
      Create a resolver capable of resolving top-level identifiers. Everything else is passed to the supplied delegate.
    • SimpleResolver

      public SimpleResolver(jakarta.el.ELResolver resolver)
      Create a read/write resolver capable of resolving top-level identifiers. Everything else is passed to the supplied delegate.
    • SimpleResolver

      public SimpleResolver(boolean readOnly)
      Create a resolver capable of resolving top-level identifiers, array values, list values, map values, resource values and bean properties.
    • SimpleResolver

      public SimpleResolver()
      Create a read/write resolver capable of resolving top-level identifiers, array values, list values, map values, resource values and bean properties.
  • Method Details

    • getRootPropertyResolver

      public RootPropertyResolver getRootPropertyResolver()
      Answer our root resolver which provides an API to access top-level properties.
      Returns:
      root property resolver
    • getCommonPropertyType

      public Class<?> getCommonPropertyType(jakarta.el.ELContext context, Object base)
      Specified by:
      getCommonPropertyType in class jakarta.el.ELResolver
    • getFeatureDescriptors

      public Iterator<FeatureDescriptor> getFeatureDescriptors(jakarta.el.ELContext context, Object base)
      Overrides:
      getFeatureDescriptors in class jakarta.el.ELResolver
    • getType

      public Class<?> getType(jakarta.el.ELContext context, Object base, Object property)
      Specified by:
      getType in class jakarta.el.ELResolver
    • getValue

      public Object getValue(jakarta.el.ELContext context, Object base, Object property)
      Specified by:
      getValue in class jakarta.el.ELResolver
    • isReadOnly

      public boolean isReadOnly(jakarta.el.ELContext context, Object base, Object property)
      Specified by:
      isReadOnly in class jakarta.el.ELResolver
    • setValue

      public void setValue(jakarta.el.ELContext context, Object base, Object property, Object value)
      Specified by:
      setValue in class jakarta.el.ELResolver
    • invoke

      public Object invoke(jakarta.el.ELContext context, Object base, Object method, Class<?>[] paramTypes, Object[] params)
      Overrides:
      invoke in class jakarta.el.ELResolver