Uses of Interface
org.springframework.expression.TypeConverter
Package
Description
Core abstractions behind the Spring Expression Language.
Common utility classes behind the Spring Expression Language.
SpEL's central implementation package.
SpEL's default implementations for various core abstractions.
-
Uses of TypeConverter in org.springframework.expression
Modifier and TypeMethodDescriptionEvaluationContext.getTypeConverter()
Return a type converter that can convert (or coerce) a value from one type to another. -
Uses of TypeConverter in org.springframework.expression.common
Modifier and TypeMethodDescriptionstatic boolean
ExpressionUtils.toBoolean
(TypeConverter typeConverter, TypedValue typedValue) Attempt to convert a typed value to a boolean using the supplied type converter.static byte
ExpressionUtils.toByte
(TypeConverter typeConverter, TypedValue typedValue) Attempt to convert a typed value to a byte using the supplied type converter.static char
ExpressionUtils.toChar
(TypeConverter typeConverter, TypedValue typedValue) Attempt to convert a typed value to a char using the supplied type converter.static double
ExpressionUtils.toDouble
(TypeConverter typeConverter, TypedValue typedValue) Attempt to convert a typed value to a double using the supplied type converter.static float
ExpressionUtils.toFloat
(TypeConverter typeConverter, TypedValue typedValue) Attempt to convert a typed value to a float using the supplied type converter.static int
ExpressionUtils.toInt
(TypeConverter typeConverter, TypedValue typedValue) Attempt to convert a typed value to an int using the supplied type converter.static long
ExpressionUtils.toLong
(TypeConverter typeConverter, TypedValue typedValue) Attempt to convert a typed value to a long using the supplied type converter.static short
ExpressionUtils.toShort
(TypeConverter typeConverter, TypedValue typedValue) Attempt to convert a typed value to a short using the supplied type converter. -
Uses of TypeConverter in org.springframework.expression.spel
-
Uses of TypeConverter in org.springframework.expression.spel.support
Modifier and TypeClassDescriptionclass
Default implementation of theTypeConverter
interface, delegating to a core SpringConversionService
.Modifier and TypeMethodDescriptionSimpleEvaluationContext.getTypeConverter()
The configuredTypeConverter
.StandardEvaluationContext.getTypeConverter()
Modifier and TypeMethodDescriptionstatic boolean
ReflectionHelper.convertAllArguments
(TypeConverter converter, Object[] arguments, Method method) Convert a supplied set of arguments into the requested types.void
StandardEvaluationContext.setTypeConverter
(TypeConverter typeConverter) SimpleEvaluationContext.Builder.withTypeConverter
(TypeConverter converter) Register a customTypeConverter
.