Package org.camunda.bpm.impl.juel
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 Summary
ConstructorDescriptionCreate a read/write resolver capable of resolving top-level identifiers, array values, list values, map values, resource values and bean properties.SimpleResolver
(boolean readOnly) Create a resolver capable of resolving top-level identifiers, array values, list values, map values, resource values and bean properties.SimpleResolver
(jakarta.el.ELResolver resolver) Create a read/write resolver capable of resolving top-level identifiers.SimpleResolver
(jakarta.el.ELResolver resolver, boolean readOnly) Create a resolver capable of resolving top-level identifiers. -
Method Summary
Modifier and TypeMethodDescriptionClass<?>
getCommonPropertyType
(jakarta.el.ELContext context, Object base) getFeatureDescriptors
(jakarta.el.ELContext context, Object base) Answer our root resolver which provides an API to access top-level properties.Class<?>
invoke
(jakarta.el.ELContext context, Object base, Object method, Class<?>[] paramTypes, Object[] params) boolean
isReadOnly
(jakarta.el.ELContext context, Object base, Object property) void
Methods inherited from class jakarta.el.ELResolver
convertToType
-
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
Answer our root resolver which provides an API to access top-level properties.- Returns:
- root property resolver
-
getCommonPropertyType
- Specified by:
getCommonPropertyType
in classjakarta.el.ELResolver
-
getFeatureDescriptors
-
getType
- Specified by:
getType
in classjakarta.el.ELResolver
-
getValue
- Specified by:
getValue
in classjakarta.el.ELResolver
-
isReadOnly
- Specified by:
isReadOnly
in classjakarta.el.ELResolver
-
setValue
- Specified by:
setValue
in classjakarta.el.ELResolver
-
invoke
public Object invoke(jakarta.el.ELContext context, Object base, Object method, Class<?>[] paramTypes, Object[] params) - Overrides:
invoke
in classjakarta.el.ELResolver
-