Package | Description |
---|---|
org.springframework.expression | |
org.springframework.expression.common | |
org.springframework.expression.spel | |
org.springframework.expression.spel.support |
Modifier and Type | Method and Description |
---|---|
TypeConverter |
EvaluationContext.getTypeConverter()
Return a type converter that can convert (or coerce) a value from one type to another.
|
Modifier and Type | Method and Description |
---|---|
static 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.
|
Modifier and Type | Method and Description |
---|---|
TypeConverter |
ExpressionState.getTypeConverter() |
Modifier and Type | Class and Description |
---|---|
class |
StandardTypeConverter
Default implementation of the
TypeConverter interface,
delegating to a core Spring ConversionService . |
Modifier and Type | Method and Description |
---|---|
TypeConverter |
StandardEvaluationContext.getTypeConverter() |
Modifier and Type | Method and Description |
---|---|
static void |
ReflectionHelper.convertAllArguments(TypeConverter converter,
Object[] arguments,
Method method)
Convert a supplied set of arguments into the requested types.
|
void |
StandardEvaluationContext.setTypeConverter(TypeConverter typeConverter) |
Copyright © 2015. All rights reserved.