Uses of Class
org.springframework.expression.spel.support.SimpleEvaluationContext.Builder
Package
Description
SpEL's default implementations for various core abstractions.
-
Uses of SimpleEvaluationContext.Builder in org.springframework.expression.spel.support
Modifier and TypeMethodDescriptionSimpleEvaluationContext.forPropertyAccessors
(PropertyAccessor... accessors) Create aSimpleEvaluationContext
for the specifiedPropertyAccessor
delegates: typically a customPropertyAccessor
specific to a use case (e.g.SimpleEvaluationContext.forReadOnlyDataBinding()
Create aSimpleEvaluationContext
for read-only access to public properties viaDataBindingPropertyAccessor
.SimpleEvaluationContext.forReadWriteDataBinding()
Create aSimpleEvaluationContext
for read-write access to public properties viaDataBindingPropertyAccessor
.SimpleEvaluationContext.Builder.withConversionService
(ConversionService conversionService) Register a customConversionService
.SimpleEvaluationContext.Builder.withInstanceMethods()
Register aDataBindingMethodResolver
for instance method invocation purposes (i.e.SimpleEvaluationContext.Builder.withMethodResolvers
(MethodResolver... resolvers) Register the specifiedMethodResolver
delegates for a combination of property access and method resolution.SimpleEvaluationContext.Builder.withRootObject
(Object rootObject) Specify a default root object to resolve against.SimpleEvaluationContext.Builder.withTypeConverter
(TypeConverter converter) Register a customTypeConverter
.SimpleEvaluationContext.Builder.withTypedRootObject
(Object rootObject, TypeDescriptor typeDescriptor) Specify a typed root object to resolve against.