Class DefaultELResolver
java.lang.Object
jakarta.el.ELResolver
jakarta.el.CompositeELResolver
org.springframework.binding.expression.el.DefaultELResolver
public class DefaultELResolver
extends jakarta.el.CompositeELResolver
A generic ELResolver to be used as a default when no other ELResolvers have been configured by the client
application.
This implementation will resolve the first part of the expression to the pre-configured base object, and will then
delegate through the chain of standard resolvers for the rest of the expression.
Note - Requires Java 5 or higher due to the use of generics in the API's basic resolvers.
- Author:
- Jeremy Grelle
-
Field Summary
Fields inherited from class jakarta.el.ELResolver
RESOLVABLE_AT_DESIGN_TIME, TYPE
-
Constructor Summary
ConstructorDescriptionDefaultELResolver
(Object target, List<? extends jakarta.el.ELResolver> customResolvers) Creates a new default EL resolver for resolving properties of the root object.DefaultELResolver
(List<? extends jakarta.el.ELResolver> customResolvers) Creates a new default EL resolver for resolving properties of the root object. -
Method Summary
Methods inherited from class jakarta.el.CompositeELResolver
add, convertToType, getCommonPropertyType, getFeatureDescriptors, invoke, isReadOnly
-
Constructor Details
-
DefaultELResolver
Creates a new default EL resolver for resolving properties of the root object. Assumes a null target and expect that the base object has already been resolved by the time this resolver runs.- Parameters:
customResolvers
- the custom resolvers to apply before this resolver
-
DefaultELResolver
Creates a new default EL resolver for resolving properties of the root object.- Parameters:
target
- the target, or "root", object of the expressioncustomResolvers
- the custom resolvers to apply before this resolver
-
-
Method Details
-
getTarget
-
getType
- Overrides:
getType
in classjakarta.el.CompositeELResolver
-
getValue
- Overrides:
getValue
in classjakarta.el.CompositeELResolver
-
setValue
- Overrides:
setValue
in classjakarta.el.CompositeELResolver
-