Uses of Class
org.springframework.expression.spel.support.SimpleEvaluationContext.Builder
Packages that use SimpleEvaluationContext.Builder
Package
Description
SpEL's default implementations for various core abstractions.
-
Uses of SimpleEvaluationContext.Builder in org.springframework.expression.spel.support
Methods in org.springframework.expression.spel.support that return SimpleEvaluationContext.BuilderModifier and TypeMethodDescriptionSimpleEvaluationContext.forPropertyAccessors
(PropertyAccessor... accessors) Create aSimpleEvaluationContext
for the specifiedPropertyAccessor
delegates: typically a customPropertyAccessor
specific to a use case — for example, for attribute resolution in a custom data structure — potentially combined with aDataBindingPropertyAccessor
if property dereferences are needed as well.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.withAssignmentDisabled()
Disable assignment within expressions evaluated by this evaluation context.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.