Uses of Class
org.springframework.expression.TypedValue
Package
Description
Expression parsing support within a Spring application context.
Core abstractions behind the Spring Expression Language.
Common utility classes behind the Spring Expression Language.
SpEL's central implementation package.
SpEL's abstract syntax tree.
SpEL's default implementations for various core abstractions.
-
Uses of TypedValue in org.springframework.context.expression
Modifier and TypeMethodDescriptionBeanExpressionContextAccessor.read
(EvaluationContext context, Object target, String name) BeanFactoryAccessor.read
(EvaluationContext context, Object target, String name) EnvironmentAccessor.read
(EvaluationContext context, Object target, String name) Access the given target object by resolving the given property name against the given target environment.MapAccessor.read
(EvaluationContext context, Object target, String name) -
Uses of TypedValue in org.springframework.expression
Modifier and TypeMethodDescriptionConstructorExecutor.execute
(EvaluationContext context, Object... arguments) Execute a constructor in the specified context using the specified arguments.MethodExecutor.execute
(EvaluationContext context, Object target, Object... arguments) Execute a command using the specified arguments, and using the specified expression state.EvaluationContext.getRootObject()
Return the default root context object against which unqualified properties/methods/etc should be resolved.PropertyAccessor.read
(EvaluationContext context, Object target, String name) Called to read a property from a specified target object. -
Uses of TypedValue in org.springframework.expression.common
Modifier and TypeMethodDescriptionstatic <T> T
ExpressionUtils.convertTypedValue
(EvaluationContext context, TypedValue typedValue, Class<T> targetType) Determines if there is a type converter available in the specified context and attempts to use it to convert the supplied value to the specified type.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. -
Uses of TypedValue in org.springframework.expression.spel
Modifier and TypeMethodDescriptionExpressionState.getActiveContextObject()
The active context object is what unqualified references to properties/etc are resolved against.ExpressionState.getRootContextObject()
ExpressionState.getScopeRootContextObject()
SpelNode.getTypedValue
(ExpressionState expressionState) Evaluate the expression node in the context of the supplied expression state and return the typed value.ExpressionState.lookupVariable
(String name) Modifier and TypeMethodDescriptionExpressionState.convertValue
(TypedValue value, TypeDescriptor targetTypeDescriptor) void
ExpressionState.pushActiveContextObject
(TypedValue obj) ModifierConstructorDescriptionExpressionState
(EvaluationContext context, TypedValue rootObject) ExpressionState
(EvaluationContext context, TypedValue rootObject, SpelParserConfiguration configuration) -
Uses of TypedValue in org.springframework.expression.spel.ast
Modifier and TypeMethodDescriptionFloatLiteral.getLiteralValue()
IntLiteral.getLiteralValue()
abstract TypedValue
Literal.getLiteralValue()
LongLiteral.getLiteralValue()
NullLiteral.getLiteralValue()
RealLiteral.getLiteralValue()
StringLiteral.getLiteralValue()
final TypedValue
SpelNodeImpl.getTypedValue
(ExpressionState expressionState) ValueRef.getValue()
Returns the value this ValueRef points to, it should not require expression component re-evaluation.ValueRef.NullValueRef.getValue()
ValueRef.TypedValueHolderValueRef.getValue()
Assign.getValueInternal
(ExpressionState state) BeanReference.getValueInternal
(ExpressionState state) CompoundExpression.getValueInternal
(ExpressionState state) Evaluates a compound expression.ConstructorReference.getValueInternal
(ExpressionState state) Implements getValue() - delegating to the code for building an array or a simple type.Elvis.getValueInternal
(ExpressionState state) Evaluate the condition and if not null, return it.FunctionReference.getValueInternal
(ExpressionState state) Identifier.getValueInternal
(ExpressionState state) Indexer.getValueInternal
(ExpressionState state) InlineList.getValueInternal
(ExpressionState expressionState) InlineMap.getValueInternal
(ExpressionState expressionState) final TypedValue
Literal.getValueInternal
(ExpressionState state) MethodReference.getValueInternal
(ExpressionState state) OpAnd.getValueInternal
(ExpressionState state) OpDec.getValueInternal
(ExpressionState state) OpDivide.getValueInternal
(ExpressionState state) OperatorPower.getValueInternal
(ExpressionState state) OpInc.getValueInternal
(ExpressionState state) OpMinus.getValueInternal
(ExpressionState state) OpModulus.getValueInternal
(ExpressionState state) OpMultiply.getValueInternal
(ExpressionState state) Implements themultiply
operator directly here for certain types of supported operands and otherwise delegates to any registered overloader for types not supported here.OpPlus.getValueInternal
(ExpressionState state) Projection.getValueInternal
(ExpressionState state) PropertyOrFieldReference.getValueInternal
(ExpressionState state) QualifiedIdentifier.getValueInternal
(ExpressionState state) Selection.getValueInternal
(ExpressionState state) abstract TypedValue
SpelNodeImpl.getValueInternal
(ExpressionState expressionState) Ternary.getValueInternal
(ExpressionState state) Evaluate the condition and if true evaluate the first alternative, otherwise evaluate the second alternative.TypeReference.getValueInternal
(ExpressionState state) VariableReference.getValueInternal
(ExpressionState state) Modifier and TypeMethodDescriptionboolean
PropertyOrFieldReference.isWritableProperty
(String name, TypedValue contextObject, EvaluationContext evalContext) -
Uses of TypedValue in org.springframework.expression.spel.support
Modifier and TypeMethodDescriptionReflectiveConstructorExecutor.execute
(EvaluationContext context, Object... arguments) ReflectiveMethodExecutor.execute
(EvaluationContext context, Object target, Object... arguments) SimpleEvaluationContext.getRootObject()
Return the specified root object, if any.StandardEvaluationContext.getRootObject()
ReflectivePropertyAccessor.OptimalPropertyAccessor.read
(EvaluationContext context, Object target, String name) ReflectivePropertyAccessor.read
(EvaluationContext context, Object target, String name)