Skip navigation links
spring-expression
A B C D E F G H I L M N O P Q R S T V W 

A

AccessException - Exception in org.springframework.expression
An AccessException is thrown by an accessor if it has an unexpected problem.
AccessException(String, Exception) - Constructor for exception org.springframework.expression.AccessException
Create an AccessException with a specific message and cause.
AccessException(String) - Constructor for exception org.springframework.expression.AccessException
Create an AccessException with a specific message.
addConstructorResolver(ConstructorResolver) - Method in class org.springframework.expression.spel.support.StandardEvaluationContext
 
addMethodResolver(MethodResolver) - Method in class org.springframework.expression.spel.support.StandardEvaluationContext
 
addPropertyAccessor(PropertyAccessor) - Method in class org.springframework.expression.spel.support.StandardEvaluationContext
 
ALL - Static variable in class org.springframework.expression.spel.ast.Selection
 
Assign - Class in org.springframework.expression.spel.ast
Represents assignment.
Assign(int, SpelNodeImpl...) - Constructor for class org.springframework.expression.spel.ast.Assign
 
AstUtils - Class in org.springframework.expression.spel.ast
Utilities methods for use in the Ast classes.
AstUtils() - Constructor for class org.springframework.expression.spel.ast.AstUtils
 

B

BeanReference - Class in org.springframework.expression.spel.ast
Represents a bean reference to a type, for example "@foo" or "@'foo.bar'"
BeanReference(int, String) - Constructor for class org.springframework.expression.spel.ast.BeanReference
 
BeanResolver - Interface in org.springframework.expression
A bean resolver can be registered with the evaluation context and will kick in for @myBeanName still expressions.
BooleanLiteral - Class in org.springframework.expression.spel.ast
Represents the literal values TRUE and FALSE.
BooleanLiteral(String, int, boolean) - Constructor for class org.springframework.expression.spel.ast.BooleanLiteral
 
BooleanTypedValue - Class in org.springframework.expression.spel.support
 

C

canCompare(Object, Object) - Method in class org.springframework.expression.spel.support.StandardTypeComparator
 
canCompare(Object, Object) - Method in interface org.springframework.expression.TypeComparator
Return true if the comparator can compare these two objects.
canConvert(TypeDescriptor, TypeDescriptor) - Method in class org.springframework.expression.spel.support.StandardTypeConverter
 
canConvert(TypeDescriptor, TypeDescriptor) - Method in interface org.springframework.expression.TypeConverter
Return true if the type converter can convert the specified type to the desired target type.
canRead(EvaluationContext, Object, String) - Method in interface org.springframework.expression.PropertyAccessor
Called to determine if a resolver instance is able to access a specified property on a specified target object.
canRead(EvaluationContext, Object, String) - Method in class org.springframework.expression.spel.support.ReflectivePropertyAccessor
 
canWrite(EvaluationContext, Object, String) - Method in interface org.springframework.expression.PropertyAccessor
Called to determine if a resolver instance is able to write to a specified property on a specified target object.
canWrite(EvaluationContext, Object, String) - Method in class org.springframework.expression.spel.support.ReflectivePropertyAccessor
 
children - Variable in class org.springframework.expression.spel.ast.SpelNodeImpl
 
compare(Object, Object) - Method in class org.springframework.expression.spel.support.StandardTypeComparator
 
compare(Object, Object) - Method in interface org.springframework.expression.TypeComparator
Compare two given objects.
CompositeStringExpression - Class in org.springframework.expression.common
Represents a template expression broken into pieces.
CompositeStringExpression(String, Expression[]) - Constructor for class org.springframework.expression.common.CompositeStringExpression
 
CompoundExpression - Class in org.springframework.expression.spel.ast
Represents a DOT separated expression sequence, such as 'property1.property2.methodOne()'
CompoundExpression(int, SpelNodeImpl...) - Constructor for class org.springframework.expression.spel.ast.CompoundExpression
 
ConstructorExecutor - Interface in org.springframework.expression
Executors are built by resolvers and can be cached by the infrastructure to repeat an operation quickly without going back to the resolvers.
ConstructorReference - Class in org.springframework.expression.spel.ast
Represents the invocation of a constructor.
ConstructorReference(int, SpelNodeImpl...) - Constructor for class org.springframework.expression.spel.ast.ConstructorReference
Create a constructor reference.
ConstructorReference(int, SpelNodeImpl[], SpelNodeImpl...) - Constructor for class org.springframework.expression.spel.ast.ConstructorReference
Create a constructor reference.
ConstructorResolver - Interface in org.springframework.expression
A constructor resolver attempts locate a constructor and returns a ConstructorExecutor that can be used to invoke that constructor.
convert(EvaluationContext, Object, Class<T>) - Static method in class org.springframework.expression.common.ExpressionUtils
convertAllArguments(TypeConverter, Object[], Method) - Static method in class org.springframework.expression.spel.support.ReflectionHelper
Convert a supplied set of arguments into the requested types.
convertTypedValue(EvaluationContext, TypedValue, Class<T>) - Static method in class org.springframework.expression.common.ExpressionUtils
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.
convertValue(Object, TypeDescriptor) - Method in class org.springframework.expression.spel.ExpressionState
 
convertValue(TypedValue, TypeDescriptor) - Method in class org.springframework.expression.spel.ExpressionState
 
convertValue(Object, TypeDescriptor, TypeDescriptor) - Method in class org.springframework.expression.spel.support.StandardTypeConverter
 
convertValue(Object, TypeDescriptor, TypeDescriptor) - Method in interface org.springframework.expression.TypeConverter
Convert (or coerce) a value from one type to another, for example from a boolean to a String.
createOptimalAccessor(EvaluationContext, Object, String) - Method in class org.springframework.expression.spel.support.ReflectivePropertyAccessor
Attempt to create an optimized property accessor tailored for a property of a particular name on a particular class.

D

doParseExpression(String, ParserContext) - Method in class org.springframework.expression.common.TemplateAwareExpressionParser
Actually parse the expression string and return an Expression object.
doParseExpression(String, ParserContext) - Method in class org.springframework.expression.spel.standard.SpelExpressionParser
 

E

Elvis - Class in org.springframework.expression.spel.ast
Represents the elvis operator ?:.
Elvis(int, SpelNodeImpl...) - Constructor for class org.springframework.expression.spel.ast.Elvis
 
enterScope(Map<String, Object>) - Method in class org.springframework.expression.spel.ExpressionState
 
enterScope(String, Object) - Method in class org.springframework.expression.spel.ExpressionState
 
equalityCheck(ExpressionState, Object, Object) - Method in class org.springframework.expression.spel.ast.Operator
 
equals(Object) - Method in class org.springframework.expression.TypedValue
 
EvaluationContext - Interface in org.springframework.expression
Expressions are executed in an evaluation context.
EvaluationException - Exception in org.springframework.expression
Represent an exception that occurs during expression evaluation.
EvaluationException(int, String) - Constructor for exception org.springframework.expression.EvaluationException
Creates a new expression evaluation exception.
EvaluationException(String, String) - Constructor for exception org.springframework.expression.EvaluationException
Creates a new expression evaluation exception.
EvaluationException(int, String, Throwable) - Constructor for exception org.springframework.expression.EvaluationException
Creates a new expression evaluation exception.
EvaluationException(String) - Constructor for exception org.springframework.expression.EvaluationException
Creates a new expression evaluation exception.
EvaluationException(String, Throwable) - Constructor for exception org.springframework.expression.EvaluationException
 
execute(EvaluationContext, Object...) - Method in interface org.springframework.expression.ConstructorExecutor
Execute a constructor in the specified context using the specified arguments.
execute(EvaluationContext, Object, Object...) - Method in interface org.springframework.expression.MethodExecutor
Execute a command using the specified arguments, and using the specified expression state.
exitScope() - Method in class org.springframework.expression.spel.ExpressionState
 
Expression - Interface in org.springframework.expression
An expression capable of evaluating itself against context objects.
ExpressionException - Exception in org.springframework.expression
Super class for exceptions that can occur whilst processing expressions
ExpressionException(String, String) - Constructor for exception org.springframework.expression.ExpressionException
Creates a new expression exception.
ExpressionException(String, int, String) - Constructor for exception org.springframework.expression.ExpressionException
Creates a new expression exception.
ExpressionException(int, String) - Constructor for exception org.springframework.expression.ExpressionException
Creates a new expression exception.
ExpressionException(int, String, Throwable) - Constructor for exception org.springframework.expression.ExpressionException
Creates a new expression exception.
ExpressionException(String) - Constructor for exception org.springframework.expression.ExpressionException
Creates a new expression exception.
ExpressionException(String, Throwable) - Constructor for exception org.springframework.expression.ExpressionException
 
ExpressionInvocationTargetException - Exception in org.springframework.expression
This exception wraps (as cause) a checked exception thrown by some method that SpEL invokes.
ExpressionInvocationTargetException(int, String, Throwable) - Constructor for exception org.springframework.expression.ExpressionInvocationTargetException
 
ExpressionInvocationTargetException(int, String) - Constructor for exception org.springframework.expression.ExpressionInvocationTargetException
 
ExpressionInvocationTargetException(String, String) - Constructor for exception org.springframework.expression.ExpressionInvocationTargetException
 
ExpressionInvocationTargetException(String, Throwable) - Constructor for exception org.springframework.expression.ExpressionInvocationTargetException
 
ExpressionInvocationTargetException(String) - Constructor for exception org.springframework.expression.ExpressionInvocationTargetException
 
ExpressionParser - Interface in org.springframework.expression
Parses expression strings into compiled expressions that can be evaluated.
ExpressionState - Class in org.springframework.expression.spel
An ExpressionState is for maintaining per-expression-evaluation state, any changes to it are not seen by other expressions but it gives a place to hold local variables and for component expressions in a compound expression to communicate state.
ExpressionState(EvaluationContext) - Constructor for class org.springframework.expression.spel.ExpressionState
 
ExpressionState(EvaluationContext, SpelParserConfiguration) - Constructor for class org.springframework.expression.spel.ExpressionState
 
ExpressionState(EvaluationContext, TypedValue) - Constructor for class org.springframework.expression.spel.ExpressionState
 
ExpressionState(EvaluationContext, TypedValue, SpelParserConfiguration) - Constructor for class org.springframework.expression.spel.ExpressionState
 
expressionString - Variable in exception org.springframework.expression.ExpressionException
 
ExpressionUtils - Class in org.springframework.expression.common
Common utility functions that may be used by any Expression Language provider.
ExpressionUtils() - Constructor for class org.springframework.expression.common.ExpressionUtils
 

F

FALSE - Static variable in class org.springframework.expression.spel.support.BooleanTypedValue
 
filter(List<Method>) - Method in interface org.springframework.expression.MethodFilter
Called by the method resolver to allow the SpEL user to organize the list of candidate methods that may be invoked.
findField(String, Class<?>, boolean) - Method in class org.springframework.expression.spel.support.ReflectivePropertyAccessor
Find a field of a certain name on a specified class.
findGetterForProperty(String, Class<?>, boolean) - Method in class org.springframework.expression.spel.support.ReflectivePropertyAccessor
Find a getter method for the specified property.
findSetterForProperty(String, Class<?>, boolean) - Method in class org.springframework.expression.spel.support.ReflectivePropertyAccessor
Find a setter method for the specified property.
findType(String) - Method in class org.springframework.expression.spel.ExpressionState
 
findType(String) - Method in class org.springframework.expression.spel.support.StandardTypeLocator
Find a (possibly unqualified) type reference - first using the type name as-is, then trying any registered prefixes if the type name cannot be found.
findType(String) - Method in interface org.springframework.expression.TypeLocator
Find a type by name.
FIRST - Static variable in class org.springframework.expression.spel.ast.Selection
 
FloatLiteral - Class in org.springframework.expression.spel.ast
Expression language AST node that represents a float literal.
forClass(Class<?>) - Static method in enum org.springframework.expression.spel.ast.TypeCode
 
formatClassNameForMessage(Class<?>) - Static method in class org.springframework.expression.spel.ast.FormatHelper
Produce a nice string for a given class object.
FormatHelper - Class in org.springframework.expression.spel.ast
Utility methods (formatters, etc) used during parsing and evaluation.
FormatHelper() - Constructor for class org.springframework.expression.spel.ast.FormatHelper
 
formatMessage(int, Object...) - Method in enum org.springframework.expression.spel.SpelMessage
Produce a complete message including the prefix, the position (if known) and with the inserts applied to the message.
formatMethodForMessage(String, List<TypeDescriptor>) - Static method in class org.springframework.expression.spel.ast.FormatHelper
Produce a nice string for a given method name with specified arguments.
forName(String) - Static method in enum org.springframework.expression.spel.ast.TypeCode
 
forValue(boolean) - Static method in class org.springframework.expression.spel.support.BooleanTypedValue
 
FunctionReference - Class in org.springframework.expression.spel.ast
A function reference is of the form "#someFunction(a,b,c)".
FunctionReference(String, int, SpelNodeImpl...) - Constructor for class org.springframework.expression.spel.ast.FunctionReference
 

G

getActiveContextObject() - Method in class org.springframework.expression.spel.ExpressionState
The active context object is what unqualified references to properties/etc are resolved against.
getAST() - Method in class org.springframework.expression.spel.standard.SpelExpression
 
getBeanResolver() - Method in interface org.springframework.expression.EvaluationContext
Return a bean resolver that can look up beans by name.
getBeanResolver() - Method in class org.springframework.expression.spel.support.StandardEvaluationContext
 
getCause() - Method in exception org.springframework.expression.spel.InternalParseException
 
getChild(int) - Method in class org.springframework.expression.spel.ast.SpelNodeImpl
 
getChild(int) - Method in interface org.springframework.expression.spel.SpelNode
Helper method that returns a SpelNode rather than an Antlr Tree node.
getChildCount() - Method in class org.springframework.expression.spel.ast.SpelNodeImpl
 
getChildCount() - Method in interface org.springframework.expression.spel.SpelNode
 
getConfiguration() - Method in class org.springframework.expression.spel.ExpressionState
 
getConstructorResolvers() - Method in interface org.springframework.expression.EvaluationContext
Return a list of resolvers that will be asked in turn to locate a constructor.
getConstructorResolvers() - Method in class org.springframework.expression.spel.support.StandardEvaluationContext
 
getEndPosition() - Method in class org.springframework.expression.spel.ast.SpelNodeImpl
 
getEndPosition() - Method in interface org.springframework.expression.spel.SpelNode
 
getEvaluationContext() - Method in class org.springframework.expression.spel.ExpressionState
 
getEvaluationContext() - Method in class org.springframework.expression.spel.standard.SpelExpression
Return the default evaluation context that will be used if none is supplied on an evaluation call
getExpressionPrefix() - Method in class org.springframework.expression.common.TemplateParserContext
 
getExpressionPrefix() - Method in interface org.springframework.expression.ParserContext
For template expressions, returns the prefix that identifies the start of an expression block within a string.
getExpressions() - Method in class org.springframework.expression.common.CompositeStringExpression
 
getExpressionString() - Method in class org.springframework.expression.common.CompositeStringExpression
 
getExpressionString() - Method in class org.springframework.expression.common.LiteralExpression
 
getExpressionString() - Method in interface org.springframework.expression.Expression
Returns the original string used to create this expression, unmodified.
getExpressionString() - Method in exception org.springframework.expression.ExpressionException
 
getExpressionString() - Method in class org.springframework.expression.spel.standard.SpelExpression
 
getExpressionSuffix() - Method in class org.springframework.expression.common.TemplateParserContext
 
getExpressionSuffix() - Method in interface org.springframework.expression.ParserContext
For template expressions, return the prefix that identifies the end of an expression block within a string.
getImportPrefixes() - Method in class org.springframework.expression.spel.support.StandardTypeLocator
Return a list of all the import prefixes registered with this StandardTypeLocator.
getInserts() - Method in exception org.springframework.expression.spel.SpelEvaluationException
 
getInserts() - Method in exception org.springframework.expression.spel.SpelParseException
 
getIntLiteral(String, int, int) - Static method in class org.springframework.expression.spel.ast.Literal
Process the string form of a number, using the specified base if supplied and return an appropriate literal to hold it.
getLeftOperand() - Method in class org.springframework.expression.spel.ast.Operator
 
getLiteralValue() - Method in class org.springframework.expression.spel.ast.BooleanLiteral
 
getLiteralValue() - Method in class org.springframework.expression.spel.ast.FloatLiteral
 
getLiteralValue() - Method in class org.springframework.expression.spel.ast.IntLiteral
 
getLiteralValue() - Method in class org.springframework.expression.spel.ast.Literal
 
getLiteralValue() - Method in class org.springframework.expression.spel.ast.LongLiteral
 
getLiteralValue() - Method in class org.springframework.expression.spel.ast.NullLiteral
 
getLiteralValue() - Method in class org.springframework.expression.spel.ast.RealLiteral
 
getLiteralValue() - Method in class org.springframework.expression.spel.ast.StringLiteral
 
getLongLiteral(String, int, int) - Static method in class org.springframework.expression.spel.ast.Literal
 
getMaximumAutoGrowSize() - Method in class org.springframework.expression.spel.SpelParserConfiguration
 
getMessage() - Method in exception org.springframework.expression.ExpressionException
Return the exception message.
getMessage() - Method in exception org.springframework.expression.spel.SpelEvaluationException
 
getMessage() - Method in exception org.springframework.expression.spel.SpelParseException
 
getMessageCode() - Method in exception org.springframework.expression.spel.SpelEvaluationException
 
getMessageCode() - Method in exception org.springframework.expression.spel.SpelParseException
 
getMethodResolvers() - Method in interface org.springframework.expression.EvaluationContext
Return a list of resolvers that will be asked in turn to locate a method.
getMethodResolvers() - Method in class org.springframework.expression.spel.support.StandardEvaluationContext
 
getMethods(Class<?>) - Method in class org.springframework.expression.spel.support.ReflectiveMethodResolver
Return the set of methods for this type.
getName() - Method in class org.springframework.expression.spel.ast.MethodReference
 
getName() - Method in class org.springframework.expression.spel.ast.PropertyOrFieldReference
 
getObjectClass(Object) - Method in class org.springframework.expression.spel.ast.SpelNodeImpl
 
getObjectClass(Object) - Method in interface org.springframework.expression.spel.SpelNode
Determine the class of the object passed in, unless it is already a class object.
getOperatorName() - Method in class org.springframework.expression.spel.ast.Operator
 
getOperatorOverloader() - Method in interface org.springframework.expression.EvaluationContext
Return an operator overloader that may support mathematical operations between more than the standard set of types.
getOperatorOverloader() - Method in class org.springframework.expression.spel.support.StandardEvaluationContext
 
getOriginalValue() - Method in class org.springframework.expression.spel.ast.Literal
 
getPosition() - Method in exception org.springframework.expression.ExpressionException
 
getPreviousChild() - Method in class org.springframework.expression.spel.ast.SpelNodeImpl
 
getPropertyAccessors() - Method in interface org.springframework.expression.EvaluationContext
Return a list of accessors that will be asked in turn to read/write a property.
getPropertyAccessors() - Method in class org.springframework.expression.spel.ExpressionState
 
getPropertyAccessors() - Method in class org.springframework.expression.spel.support.StandardEvaluationContext
 
getPropertyAccessorsToTry(Class<?>, List<PropertyAccessor>) - Static method in class org.springframework.expression.spel.ast.AstUtils
Determines the set of property resolvers that should be used to try and access a property on the specified target type.
getPropertyMethodSuffix(String) - Method in class org.springframework.expression.spel.support.ReflectivePropertyAccessor
Return the method suffix for a given property name.
getPropertyMethodSuffixes(String) - Method in class org.springframework.expression.spel.support.ReflectivePropertyAccessor
Return the method suffixes for a given property name.
getRealLiteral(String, int, boolean) - Static method in class org.springframework.expression.spel.ast.Literal
 
getRightOperand() - Method in class org.springframework.expression.spel.ast.OpDec
 
getRightOperand() - Method in class org.springframework.expression.spel.ast.Operator
 
getRightOperand() - Method in class org.springframework.expression.spel.ast.OpInc
 
getRightOperand() - Method in class org.springframework.expression.spel.ast.OpMinus
 
getRightOperand() - Method in class org.springframework.expression.spel.ast.OpPlus
 
getRootContextObject() - Method in class org.springframework.expression.spel.ExpressionState
 
getRootObject() - Method in interface org.springframework.expression.EvaluationContext
Return the default root context object against which unqualified properties/methods/etc should be resolved.
getRootObject() - Method in class org.springframework.expression.spel.support.StandardEvaluationContext
 
getSimpleMessage() - Method in exception org.springframework.expression.ExpressionException
Return the exception simple message without including the expression that caused the failure.
getSpecificTargetClasses() - Method in interface org.springframework.expression.PropertyAccessor
Return an array of classes for which this resolver should be called.
getSpecificTargetClasses() - Method in class org.springframework.expression.spel.support.ReflectivePropertyAccessor
Returns null which means this is a general purpose accessor.
getStartPosition() - Method in class org.springframework.expression.spel.ast.SpelNodeImpl
 
getStartPosition() - Method in interface org.springframework.expression.spel.SpelNode
 
getType() - Method in enum org.springframework.expression.spel.ast.TypeCode
 
getTypeComparator() - Method in interface org.springframework.expression.EvaluationContext
Return a type comparator for comparing pairs of objects for equality.
getTypeComparator() - Method in class org.springframework.expression.spel.ExpressionState
 
getTypeComparator() - Method in class org.springframework.expression.spel.support.StandardEvaluationContext
 
getTypeConverter() - Method in interface org.springframework.expression.EvaluationContext
Return a type converter that can convert (or coerce) a value from one type to another.
getTypeConverter() - Method in class org.springframework.expression.spel.ExpressionState
 
getTypeConverter() - Method in class org.springframework.expression.spel.support.StandardEvaluationContext
 
getTypeDescriptor() - Method in class org.springframework.expression.TypedValue
 
getTypeDifferenceWeight(List<TypeDescriptor>, List<TypeDescriptor>) - Static method in class org.springframework.expression.spel.support.ReflectionHelper
Based on MethodInvoker.getTypeDifferenceWeight(Class[], Object[]) but operates on TypeDescriptors.
getTypedValue(ExpressionState) - Method in class org.springframework.expression.spel.ast.SpelNodeImpl
 
getTypedValue(ExpressionState) - Method in interface org.springframework.expression.spel.SpelNode
Evaluate the expression node in the context of the supplied expression state and return the typed value.
getTypeLocator() - Method in interface org.springframework.expression.EvaluationContext
Return a type locator that can be used to find types, either by short or fully qualified name.
getTypeLocator() - Method in class org.springframework.expression.spel.support.StandardEvaluationContext
 
getValue() - Method in class org.springframework.expression.common.CompositeStringExpression
 
getValue(Object) - Method in class org.springframework.expression.common.CompositeStringExpression
 
getValue(EvaluationContext) - Method in class org.springframework.expression.common.CompositeStringExpression
 
getValue(EvaluationContext, Object) - Method in class org.springframework.expression.common.CompositeStringExpression
 
getValue(EvaluationContext, Class<T>) - Method in class org.springframework.expression.common.CompositeStringExpression
 
getValue(Class<T>) - Method in class org.springframework.expression.common.CompositeStringExpression
 
getValue(Object, Class<T>) - Method in class org.springframework.expression.common.CompositeStringExpression
 
getValue(EvaluationContext, Object, Class<T>) - Method in class org.springframework.expression.common.CompositeStringExpression
 
getValue() - Method in class org.springframework.expression.common.LiteralExpression
 
getValue(EvaluationContext) - Method in class org.springframework.expression.common.LiteralExpression
 
getValue(Object) - Method in class org.springframework.expression.common.LiteralExpression
 
getValue(EvaluationContext, Class<T>) - Method in class org.springframework.expression.common.LiteralExpression
 
getValue(Class<T>) - Method in class org.springframework.expression.common.LiteralExpression
 
getValue(Object, Class<T>) - Method in class org.springframework.expression.common.LiteralExpression
 
getValue(EvaluationContext, Object) - Method in class org.springframework.expression.common.LiteralExpression
 
getValue(EvaluationContext, Object, Class<T>) - Method in class org.springframework.expression.common.LiteralExpression
 
getValue() - Method in interface org.springframework.expression.Expression
Evaluate this expression in the default standard context.
getValue(Object) - Method in interface org.springframework.expression.Expression
Evaluate this expression against the specified root object
getValue(Class<T>) - Method in interface org.springframework.expression.Expression
Evaluate the expression in the default context.
getValue(Object, Class<T>) - Method in interface org.springframework.expression.Expression
Evaluate the expression in the default context against the specified root object.
getValue(EvaluationContext) - Method in interface org.springframework.expression.Expression
Evaluate this expression in the provided context and return the result of evaluation.
getValue(EvaluationContext, Object) - Method in interface org.springframework.expression.Expression
Evaluate this expression in the provided context and return the result of evaluation, but use the supplied root context as an override for any default root object specified in the context.
getValue(EvaluationContext, Class<T>) - Method in interface org.springframework.expression.Expression
Evaluate the expression in a specified context which can resolve references to properties, methods, types, etc - the type of the evaluation result is expected to be of a particular class and an exception will be thrown if it is not and cannot be converted to that type.
getValue(EvaluationContext, Object, Class<T>) - Method in interface org.springframework.expression.Expression
Evaluate the expression in a specified context which can resolve references to properties, methods, types, etc - the type of the evaluation result is expected to be of a particular class and an exception will be thrown if it is not and cannot be converted to that type.
getValue(ExpressionState) - Method in class org.springframework.expression.spel.ast.SpelNodeImpl
 
getValue(ExpressionState, Class<T>) - Method in class org.springframework.expression.spel.ast.SpelNodeImpl
 
getValue() - Method in interface org.springframework.expression.spel.ast.ValueRef
Returns the value this ValueRef points to, it should not require expression component re-evaluation.
getValue() - Method in class org.springframework.expression.spel.ast.ValueRef.NullValueRef
 
getValue() - Method in class org.springframework.expression.spel.ast.ValueRef.TypedValueHolderValueRef
 
getValue(ExpressionState) - Method in interface org.springframework.expression.spel.SpelNode
Evaluate the expression node in the context of the supplied expression state and return the value.
getValue() - Method in class org.springframework.expression.spel.standard.SpelExpression
 
getValue(Object) - Method in class org.springframework.expression.spel.standard.SpelExpression
 
getValue(Class<T>) - Method in class org.springframework.expression.spel.standard.SpelExpression
 
getValue(Object, Class<T>) - Method in class org.springframework.expression.spel.standard.SpelExpression
 
getValue(EvaluationContext) - Method in class org.springframework.expression.spel.standard.SpelExpression
 
getValue(EvaluationContext, Object) - Method in class org.springframework.expression.spel.standard.SpelExpression
 
getValue(EvaluationContext, Class<T>) - Method in class org.springframework.expression.spel.standard.SpelExpression
 
getValue(EvaluationContext, Object, Class<T>) - Method in class org.springframework.expression.spel.standard.SpelExpression
 
getValue() - Method in class org.springframework.expression.TypedValue
 
getValueInternal(ExpressionState) - Method in class org.springframework.expression.spel.ast.Assign
 
getValueInternal(ExpressionState) - Method in class org.springframework.expression.spel.ast.BeanReference
 
getValueInternal(ExpressionState) - Method in class org.springframework.expression.spel.ast.CompoundExpression
Evaluates a compound expression.
getValueInternal(ExpressionState) - Method in class org.springframework.expression.spel.ast.ConstructorReference
Implements getValue() - delegating to the code for building an array or a simple type.
getValueInternal(ExpressionState) - Method in class org.springframework.expression.spel.ast.Elvis
Evaluate the condition and if not null, return it.
getValueInternal(ExpressionState) - Method in class org.springframework.expression.spel.ast.FunctionReference
 
getValueInternal(ExpressionState) - Method in class org.springframework.expression.spel.ast.Identifier
 
getValueInternal(ExpressionState) - Method in class org.springframework.expression.spel.ast.Indexer
 
getValueInternal(ExpressionState) - Method in class org.springframework.expression.spel.ast.InlineList
 
getValueInternal(ExpressionState) - Method in class org.springframework.expression.spel.ast.Literal
 
getValueInternal(ExpressionState) - Method in class org.springframework.expression.spel.ast.MethodReference
 
getValueInternal(ExpressionState) - Method in class org.springframework.expression.spel.ast.OpAnd
 
getValueInternal(ExpressionState) - Method in class org.springframework.expression.spel.ast.OpDec
 
getValueInternal(ExpressionState) - Method in class org.springframework.expression.spel.ast.OpDivide
 
getValueInternal(ExpressionState) - Method in class org.springframework.expression.spel.ast.OpEQ
 
getValueInternal(ExpressionState) - Method in class org.springframework.expression.spel.ast.OperatorBetween
Returns a boolean based on whether a value is in the range expressed.
getValueInternal(ExpressionState) - Method in class org.springframework.expression.spel.ast.OperatorInstanceof
Compare the left operand to see it is an instance of the type specified as the right operand.
getValueInternal(ExpressionState) - Method in class org.springframework.expression.spel.ast.OperatorMatches
Check the first operand matches the regex specified as the second operand.
getValueInternal(ExpressionState) - Method in class org.springframework.expression.spel.ast.OperatorNot
 
getValueInternal(ExpressionState) - Method in class org.springframework.expression.spel.ast.OperatorPower
 
getValueInternal(ExpressionState) - Method in class org.springframework.expression.spel.ast.OpGE
 
getValueInternal(ExpressionState) - Method in class org.springframework.expression.spel.ast.OpGT
 
getValueInternal(ExpressionState) - Method in class org.springframework.expression.spel.ast.OpInc
 
getValueInternal(ExpressionState) - Method in class org.springframework.expression.spel.ast.OpLE
 
getValueInternal(ExpressionState) - Method in class org.springframework.expression.spel.ast.OpLT
 
getValueInternal(ExpressionState) - Method in class org.springframework.expression.spel.ast.OpMinus
 
getValueInternal(ExpressionState) - Method in class org.springframework.expression.spel.ast.OpModulus
 
getValueInternal(ExpressionState) - Method in class org.springframework.expression.spel.ast.OpMultiply
Implements the multiply operator directly here for certain types of supported operands and otherwise delegates to any registered overloader for types not supported here.
getValueInternal(ExpressionState) - Method in class org.springframework.expression.spel.ast.OpNE
 
getValueInternal(ExpressionState) - Method in class org.springframework.expression.spel.ast.OpOr
 
getValueInternal(ExpressionState) - Method in class org.springframework.expression.spel.ast.OpPlus
 
getValueInternal(ExpressionState) - Method in class org.springframework.expression.spel.ast.Projection
 
getValueInternal(ExpressionState) - Method in class org.springframework.expression.spel.ast.PropertyOrFieldReference
 
getValueInternal(ExpressionState) - Method in class org.springframework.expression.spel.ast.QualifiedIdentifier
 
getValueInternal(ExpressionState) - Method in class org.springframework.expression.spel.ast.Selection
 
getValueInternal(ExpressionState) - Method in class org.springframework.expression.spel.ast.SpelNodeImpl
 
getValueInternal(ExpressionState) - Method in class org.springframework.expression.spel.ast.Ternary
Evaluate the condition and if true evaluate the first alternative, otherwise evaluate the second alternative.
getValueInternal(ExpressionState) - Method in class org.springframework.expression.spel.ast.TypeReference
 
getValueInternal(ExpressionState) - Method in class org.springframework.expression.spel.ast.VariableReference
 
getValueRef(ExpressionState) - Method in class org.springframework.expression.spel.ast.CompoundExpression
 
getValueRef(ExpressionState) - Method in class org.springframework.expression.spel.ast.Indexer
 
getValueRef(ExpressionState) - Method in class org.springframework.expression.spel.ast.MethodReference
 
getValueRef(ExpressionState) - Method in class org.springframework.expression.spel.ast.Projection
 
getValueRef(ExpressionState) - Method in class org.springframework.expression.spel.ast.PropertyOrFieldReference
 
getValueRef(ExpressionState) - Method in class org.springframework.expression.spel.ast.Selection
 
getValueRef(ExpressionState) - Method in class org.springframework.expression.spel.ast.SpelNodeImpl
 
getValueRef(ExpressionState) - Method in class org.springframework.expression.spel.ast.VariableReference
 
getValueType(EvaluationContext) - Method in class org.springframework.expression.common.CompositeStringExpression
 
getValueType() - Method in class org.springframework.expression.common.CompositeStringExpression
 
getValueType(Object) - Method in class org.springframework.expression.common.CompositeStringExpression
 
getValueType(EvaluationContext, Object) - Method in class org.springframework.expression.common.CompositeStringExpression
 
getValueType(EvaluationContext) - Method in class org.springframework.expression.common.LiteralExpression
 
getValueType() - Method in class org.springframework.expression.common.LiteralExpression
 
getValueType(Object) - Method in class org.springframework.expression.common.LiteralExpression
 
getValueType(EvaluationContext, Object) - Method in class org.springframework.expression.common.LiteralExpression
 
getValueType() - Method in interface org.springframework.expression.Expression
Returns the most general type that can be passed to the Expression.setValue(EvaluationContext, Object) method using the default context.
getValueType(Object) - Method in interface org.springframework.expression.Expression
Returns the most general type that can be passed to the Expression.setValue(EvaluationContext, Object) method using the default context.
getValueType(EvaluationContext) - Method in interface org.springframework.expression.Expression
Returns the most general type that can be passed to the Expression.setValue(EvaluationContext, Object) method for the given context.
getValueType(EvaluationContext, Object) - Method in interface org.springframework.expression.Expression
Returns the most general type that can be passed to the Expression.setValue(EvaluationContext, Object) method for the given context.
getValueType() - Method in class org.springframework.expression.spel.standard.SpelExpression
 
getValueType(Object) - Method in class org.springframework.expression.spel.standard.SpelExpression
 
getValueType(EvaluationContext) - Method in class org.springframework.expression.spel.standard.SpelExpression
 
getValueType(EvaluationContext, Object) - Method in class org.springframework.expression.spel.standard.SpelExpression
 
getValueTypeDescriptor(EvaluationContext) - Method in class org.springframework.expression.common.CompositeStringExpression
 
getValueTypeDescriptor() - Method in class org.springframework.expression.common.CompositeStringExpression
 
getValueTypeDescriptor(Object) - Method in class org.springframework.expression.common.CompositeStringExpression
 
getValueTypeDescriptor(EvaluationContext, Object) - Method in class org.springframework.expression.common.CompositeStringExpression
 
getValueTypeDescriptor(EvaluationContext) - Method in class org.springframework.expression.common.LiteralExpression
 
getValueTypeDescriptor() - Method in class org.springframework.expression.common.LiteralExpression
 
getValueTypeDescriptor(Object) - Method in class org.springframework.expression.common.LiteralExpression
 
getValueTypeDescriptor(EvaluationContext, Object) - Method in class org.springframework.expression.common.LiteralExpression
 
getValueTypeDescriptor() - Method in interface org.springframework.expression.Expression
Returns the most general type that can be passed to the Expression.setValue(EvaluationContext, Object) method using the default context.
getValueTypeDescriptor(Object) - Method in interface org.springframework.expression.Expression
Returns the most general type that can be passed to the Expression.setValue(EvaluationContext, Object) method using the default context.
getValueTypeDescriptor(EvaluationContext) - Method in interface org.springframework.expression.Expression
Returns the most general type that can be passed to the Expression.setValue(EvaluationContext, Object) method for the given context.
getValueTypeDescriptor(EvaluationContext, Object) - Method in interface org.springframework.expression.Expression
Returns the most general type that can be passed to the Expression.setValue(EvaluationContext, Object) method for the given context.
getValueTypeDescriptor() - Method in class org.springframework.expression.spel.standard.SpelExpression
 
getValueTypeDescriptor(Object) - Method in class org.springframework.expression.spel.standard.SpelExpression
 
getValueTypeDescriptor(EvaluationContext) - Method in class org.springframework.expression.spel.standard.SpelExpression
 
getValueTypeDescriptor(EvaluationContext, Object) - Method in class org.springframework.expression.spel.standard.SpelExpression
 

H

hashCode() - Method in class org.springframework.expression.TypedValue
 

I

Identifier - Class in org.springframework.expression.spel.ast
 
Identifier(String, int) - Constructor for class org.springframework.expression.spel.ast.Identifier
 
Indexer - Class in org.springframework.expression.spel.ast
An Indexer can index into some proceeding structure to access a particular piece of it.
Indexer(int, SpelNodeImpl) - Constructor for class org.springframework.expression.spel.ast.Indexer
 
InlineList - Class in org.springframework.expression.spel.ast
Represent a list in an expression, e.g.
InlineList(int, SpelNodeImpl...) - Constructor for class org.springframework.expression.spel.ast.InlineList
 
InternalParseException - Exception in org.springframework.expression.spel
Wraps a real parse exception.
InternalParseException(SpelParseException) - Constructor for exception org.springframework.expression.spel.InternalParseException
 
IntLiteral - Class in org.springframework.expression.spel.ast
Expression language AST node that represents an integer literal.
isAutoGrowCollections() - Method in class org.springframework.expression.spel.SpelParserConfiguration
 
isAutoGrowNullReferences() - Method in class org.springframework.expression.spel.SpelParserConfiguration
 
isConstant() - Method in class org.springframework.expression.spel.ast.InlineList
 
isNullSafe() - Method in class org.springframework.expression.spel.ast.PropertyOrFieldReference
 
isTemplate() - Method in class org.springframework.expression.common.TemplateParserContext
 
isTemplate() - Method in interface org.springframework.expression.ParserContext
Whether or not the expression being parsed is a template.
isWritable(EvaluationContext) - Method in class org.springframework.expression.common.CompositeStringExpression
 
isWritable(EvaluationContext, Object) - Method in class org.springframework.expression.common.CompositeStringExpression
 
isWritable(Object) - Method in class org.springframework.expression.common.CompositeStringExpression
 
isWritable(EvaluationContext) - Method in class org.springframework.expression.common.LiteralExpression
 
isWritable(EvaluationContext, Object) - Method in class org.springframework.expression.common.LiteralExpression
 
isWritable(Object) - Method in class org.springframework.expression.common.LiteralExpression
 
isWritable(EvaluationContext) - Method in interface org.springframework.expression.Expression
Determine if an expression can be written to, i.e.
isWritable(EvaluationContext, Object) - Method in interface org.springframework.expression.Expression
Determine if an expression can be written to, i.e.
isWritable(Object) - Method in interface org.springframework.expression.Expression
Determine if an expression can be written to, i.e.
isWritable(ExpressionState) - Method in class org.springframework.expression.spel.ast.CompoundExpression
 
isWritable(ExpressionState) - Method in class org.springframework.expression.spel.ast.Indexer
 
isWritable(ExpressionState) - Method in class org.springframework.expression.spel.ast.PropertyOrFieldReference
 
isWritable(ExpressionState) - Method in class org.springframework.expression.spel.ast.SpelNodeImpl
 
isWritable() - Method in interface org.springframework.expression.spel.ast.ValueRef
Indicates whether calling setValue(Object) is supported.
isWritable() - Method in class org.springframework.expression.spel.ast.ValueRef.NullValueRef
 
isWritable() - Method in class org.springframework.expression.spel.ast.ValueRef.TypedValueHolderValueRef
 
isWritable(ExpressionState) - Method in class org.springframework.expression.spel.ast.VariableReference
 
isWritable(ExpressionState) - Method in interface org.springframework.expression.spel.SpelNode
Determine if this expression node will support a setValue() call.
isWritable(EvaluationContext) - Method in class org.springframework.expression.spel.standard.SpelExpression
 
isWritable(Object) - Method in class org.springframework.expression.spel.standard.SpelExpression
 
isWritable(EvaluationContext, Object) - Method in class org.springframework.expression.spel.standard.SpelExpression
 
isWritableProperty(String, TypedValue, EvaluationContext) - Method in class org.springframework.expression.spel.ast.PropertyOrFieldReference
 

L

LAST - Static variable in class org.springframework.expression.spel.ast.Selection
 
Literal - Class in org.springframework.expression.spel.ast
Common superclass for nodes representing literals (boolean, string, number, etc).
Literal(String, int) - Constructor for class org.springframework.expression.spel.ast.Literal
 
LiteralExpression - Class in org.springframework.expression.common
A very simple hardcoded implementation of the Expression interface that represents a string literal.
LiteralExpression(String) - Constructor for class org.springframework.expression.common.LiteralExpression
 
LongLiteral - Class in org.springframework.expression.spel.ast
Expression language AST node that represents a long integer literal.
lookupLocalVariable(String) - Method in class org.springframework.expression.spel.ExpressionState
 
lookupVariable(String) - Method in interface org.springframework.expression.EvaluationContext
Look up a named variable within this evaluation context.
lookupVariable(String) - Method in class org.springframework.expression.spel.ExpressionState
 
lookupVariable(String) - Method in class org.springframework.expression.spel.support.StandardEvaluationContext
 

M

MethodExecutor - Interface in org.springframework.expression
MethodExecutors are built by the resolvers and can be cached by the infrastructure to repeat an operation quickly without going back to the resolvers.
MethodFilter - Interface in org.springframework.expression
MethodFilter instances allow SpEL users to fine tune the behaviour of the method resolution process.
MethodReference - Class in org.springframework.expression.spel.ast
Expression language AST node that represents a method reference.
MethodReference(boolean, String, int, SpelNodeImpl...) - Constructor for class org.springframework.expression.spel.ast.MethodReference
 
MethodResolver - Interface in org.springframework.expression
A method resolver attempts locate a method and returns a command executor that can be used to invoke that method.

N

nextChildIs(Class<?>...) - Method in class org.springframework.expression.spel.ast.SpelNodeImpl
 
NULL - Static variable in class org.springframework.expression.TypedValue
 
NullLiteral - Class in org.springframework.expression.spel.ast
Expression language AST node that represents null.
NullLiteral(int) - Constructor for class org.springframework.expression.spel.ast.NullLiteral
 
NullValueRef() - Constructor for class org.springframework.expression.spel.ast.ValueRef.NullValueRef
 

O

OpAnd - Class in org.springframework.expression.spel.ast
Represents the boolean AND operation.
OpAnd(int, SpelNodeImpl...) - Constructor for class org.springframework.expression.spel.ast.OpAnd
 
OpDec - Class in org.springframework.expression.spel.ast
Decrement operator.
OpDec(int, boolean, SpelNodeImpl...) - Constructor for class org.springframework.expression.spel.ast.OpDec
 
OpDivide - Class in org.springframework.expression.spel.ast
Implements division operator.
OpDivide(int, SpelNodeImpl...) - Constructor for class org.springframework.expression.spel.ast.OpDivide
 
OpEQ - Class in org.springframework.expression.spel.ast
Implements the equality operator.
OpEQ(int, SpelNodeImpl...) - Constructor for class org.springframework.expression.spel.ast.OpEQ
 
operate(Operation, Object, Object) - Method in interface org.springframework.expression.OperatorOverloader
Execute the specified operation on two operands, returning a result.
operate(Operation, Object, Object) - Method in class org.springframework.expression.spel.ExpressionState
 
operate(Operation, Object, Object) - Method in class org.springframework.expression.spel.support.StandardOperatorOverloader
 
Operation - Enum in org.springframework.expression
Supported operations that an OperatorOverloader can implement for any pair of operands.
Operator - Class in org.springframework.expression.spel.ast
Common supertype for operators that operate on either one or two operands.
Operator(String, int, SpelNodeImpl...) - Constructor for class org.springframework.expression.spel.ast.Operator
 
OperatorBetween - Class in org.springframework.expression.spel.ast
Represents the between operator.
OperatorBetween(int, SpelNodeImpl...) - Constructor for class org.springframework.expression.spel.ast.OperatorBetween
 
OperatorInstanceof - Class in org.springframework.expression.spel.ast
The operator 'instanceof' checks if an object is of the class specified in the right hand operand, in the same way that instanceof does in Java.
OperatorInstanceof(int, SpelNodeImpl...) - Constructor for class org.springframework.expression.spel.ast.OperatorInstanceof
 
OperatorMatches - Class in org.springframework.expression.spel.ast
Implements the matches operator.
OperatorMatches(int, SpelNodeImpl...) - Constructor for class org.springframework.expression.spel.ast.OperatorMatches
 
OperatorNot - Class in org.springframework.expression.spel.ast
Represents a NOT operation.
OperatorNot(int, SpelNodeImpl) - Constructor for class org.springframework.expression.spel.ast.OperatorNot
 
OperatorOverloader - Interface in org.springframework.expression
By default the mathematical operators Operation support simple types like numbers.
OperatorPower - Class in org.springframework.expression.spel.ast
The power operator.
OperatorPower(int, SpelNodeImpl...) - Constructor for class org.springframework.expression.spel.ast.OperatorPower
 
OpGE - Class in org.springframework.expression.spel.ast
Implements greater-than-or-equal operator.
OpGE(int, SpelNodeImpl...) - Constructor for class org.springframework.expression.spel.ast.OpGE
 
OpGT - Class in org.springframework.expression.spel.ast
Implements the greater-than operator.
OpGT(int, SpelNodeImpl...) - Constructor for class org.springframework.expression.spel.ast.OpGT
 
OpInc - Class in org.springframework.expression.spel.ast
Increment operator.
OpInc(int, boolean, SpelNodeImpl...) - Constructor for class org.springframework.expression.spel.ast.OpInc
 
OpLE - Class in org.springframework.expression.spel.ast
Implements the less-than-or-equal operator.
OpLE(int, SpelNodeImpl...) - Constructor for class org.springframework.expression.spel.ast.OpLE
 
OpLT - Class in org.springframework.expression.spel.ast
Implements the less-than operator.
OpLT(int, SpelNodeImpl...) - Constructor for class org.springframework.expression.spel.ast.OpLT
 
OpMinus - Class in org.springframework.expression.spel.ast
The minus operator supports: subtraction of BigDecimal subtraction of doubles (floats are represented as doubles) subtraction of longs subtraction of integers subtraction of an int from a string of one character (effectively decreasing that character), so 'd'-3='a' It can be used as a unary operator for numbers (BigDecimal/double/long/int).
OpMinus(int, SpelNodeImpl...) - Constructor for class org.springframework.expression.spel.ast.OpMinus
 
OpModulus - Class in org.springframework.expression.spel.ast
Implements the modulus operator.
OpModulus(int, SpelNodeImpl...) - Constructor for class org.springframework.expression.spel.ast.OpModulus
 
OpMultiply - Class in org.springframework.expression.spel.ast
Implements the multiply operator.
OpMultiply(int, SpelNodeImpl...) - Constructor for class org.springframework.expression.spel.ast.OpMultiply
 
OpNE - Class in org.springframework.expression.spel.ast
Implements the not-equal operator.
OpNE(int, SpelNodeImpl...) - Constructor for class org.springframework.expression.spel.ast.OpNE
 
OpOr - Class in org.springframework.expression.spel.ast
Represents the boolean OR operation.
OpOr(int, SpelNodeImpl...) - Constructor for class org.springframework.expression.spel.ast.OpOr
 
OpPlus - Class in org.springframework.expression.spel.ast
The plus operator will: add BigDecimal add doubles (floats are represented as doubles) add longs add integers concatenate strings It can be used as a unary operator for numbers (BigDecimal/double/long/int).
OpPlus(int, SpelNodeImpl...) - Constructor for class org.springframework.expression.spel.ast.OpPlus
 
org.springframework.expression - package org.springframework.expression
 
org.springframework.expression.common - package org.springframework.expression.common
 
org.springframework.expression.spel - package org.springframework.expression.spel
 
org.springframework.expression.spel.ast - package org.springframework.expression.spel.ast
 
org.springframework.expression.spel.standard - package org.springframework.expression.spel.standard
 
org.springframework.expression.spel.support - package org.springframework.expression.spel.support
 
overridesOperation(Operation, Object, Object) - Method in interface org.springframework.expression.OperatorOverloader
Return true if the operator overloader supports the specified operation between the two operands and so should be invoked to handle it.
overridesOperation(Operation, Object, Object) - Method in class org.springframework.expression.spel.support.StandardOperatorOverloader
 

P

ParseException - Exception in org.springframework.expression
Represent an exception that occurs during expression parsing.
ParseException(String, int, String) - Constructor for exception org.springframework.expression.ParseException
Creates a new expression parsing exception.
ParseException(int, String, Throwable) - Constructor for exception org.springframework.expression.ParseException
Creates a new expression parsing exception.
ParseException(int, String) - Constructor for exception org.springframework.expression.ParseException
Creates a new expression parsing exception.
parseExpression(String) - Method in class org.springframework.expression.common.TemplateAwareExpressionParser
 
parseExpression(String, ParserContext) - Method in class org.springframework.expression.common.TemplateAwareExpressionParser
 
parseExpression(String) - Method in interface org.springframework.expression.ExpressionParser
Parse the expression string and return an Expression object you can use for repeated evaluation.
parseExpression(String, ParserContext) - Method in interface org.springframework.expression.ExpressionParser
Parse the expression string and return an Expression object you can use for repeated evaluation.
parseRaw(String) - Method in class org.springframework.expression.spel.standard.SpelExpressionParser
 
ParserContext - Interface in org.springframework.expression
Input provided to an expression parser that can influence an expression parsing/compilation routine.
popActiveContextObject() - Method in class org.springframework.expression.spel.ExpressionState
 
pos - Variable in class org.springframework.expression.spel.ast.SpelNodeImpl
 
position - Variable in exception org.springframework.expression.ExpressionException
 
Projection - Class in org.springframework.expression.spel.ast
Represents projection, where a given operation is performed on all elements in some input sequence, returning a new sequence of the same size.
Projection(boolean, int, SpelNodeImpl) - Constructor for class org.springframework.expression.spel.ast.Projection
 
PropertyAccessor - Interface in org.springframework.expression
A property accessor is able to read from (and possibly write to) an object's properties.
PropertyOrFieldReference - Class in org.springframework.expression.spel.ast
Represents a simple property or field reference.
PropertyOrFieldReference(boolean, String, int) - Constructor for class org.springframework.expression.spel.ast.PropertyOrFieldReference
 
pushActiveContextObject(TypedValue) - Method in class org.springframework.expression.spel.ExpressionState
 

Q

QualifiedIdentifier - Class in org.springframework.expression.spel.ast
Represents a dot separated sequence of strings that indicate a package qualified type reference.
QualifiedIdentifier(int, SpelNodeImpl...) - Constructor for class org.springframework.expression.spel.ast.QualifiedIdentifier
 

R

read(EvaluationContext, Object, String) - Method in interface org.springframework.expression.PropertyAccessor
Called to read a property from a specified target object.
read(EvaluationContext, Object, String) - Method in class org.springframework.expression.spel.support.ReflectivePropertyAccessor
 
RealLiteral - Class in org.springframework.expression.spel.ast
Expression language AST node that represents a real literal.
RealLiteral(String, int, double) - Constructor for class org.springframework.expression.spel.ast.RealLiteral
 
ReflectionHelper - Class in org.springframework.expression.spel.support
Utility methods used by the reflection resolver code to discover the appropriate methods/constructors and fields that should be used in expressions.
ReflectionHelper() - Constructor for class org.springframework.expression.spel.support.ReflectionHelper
 
ReflectiveConstructorResolver - Class in org.springframework.expression.spel.support
A constructor resolver that uses reflection to locate the constructor that should be invoked.
ReflectiveConstructorResolver() - Constructor for class org.springframework.expression.spel.support.ReflectiveConstructorResolver
 
ReflectiveMethodResolver - Class in org.springframework.expression.spel.support
Reflection-based MethodResolver used by default in StandardEvaluationContext unless explicit method resolvers have been specified.
ReflectiveMethodResolver() - Constructor for class org.springframework.expression.spel.support.ReflectiveMethodResolver
 
ReflectiveMethodResolver(boolean) - Constructor for class org.springframework.expression.spel.support.ReflectiveMethodResolver
This constructors allows the ReflectiveMethodResolver to be configured such that it will use a distance computation to check which is the better of two close matches (when there are multiple matches).
ReflectivePropertyAccessor - Class in org.springframework.expression.spel.support
Simple PropertyAccessor that uses reflection to access properties for reading and writing.
ReflectivePropertyAccessor() - Constructor for class org.springframework.expression.spel.support.ReflectivePropertyAccessor
 
registerFunction(String, Method) - Method in class org.springframework.expression.spel.support.StandardEvaluationContext
 
registerImport(String) - Method in class org.springframework.expression.spel.support.StandardTypeLocator
Register a new import prefix that will be used when searching for unqualified types.
registerMethodFilter(Class<?>, MethodFilter) - Method in class org.springframework.expression.spel.support.ReflectiveMethodResolver
 
registerMethodFilter(Class<?>, MethodFilter) - Method in class org.springframework.expression.spel.support.StandardEvaluationContext
Register a MethodFilter which will be called during method resolution for the specified type.
removeConstructorResolver(ConstructorResolver) - Method in class org.springframework.expression.spel.support.StandardEvaluationContext
 
removeImport(String) - Method in class org.springframework.expression.spel.support.StandardTypeLocator
Remove that specified prefix from this locator's list of imports.
removeMethodResolver(MethodResolver) - Method in class org.springframework.expression.spel.support.StandardEvaluationContext
 
removePropertyAccessor(PropertyAccessor) - Method in class org.springframework.expression.spel.support.StandardEvaluationContext
 
resolve(EvaluationContext, String) - Method in interface org.springframework.expression.BeanResolver
Look up the named bean and return it.
resolve(EvaluationContext, String, List<TypeDescriptor>) - Method in interface org.springframework.expression.ConstructorResolver
Within the supplied context determine a suitable constructor on the supplied type that can handle the specified arguments.
resolve(EvaluationContext, Object, String, List<TypeDescriptor>) - Method in interface org.springframework.expression.MethodResolver
Within the supplied context determine a suitable method on the supplied object that can handle the specified arguments.
resolve(EvaluationContext, String, List<TypeDescriptor>) - Method in class org.springframework.expression.spel.support.ReflectiveConstructorResolver
Locate a constructor on the type.
resolve(EvaluationContext, Object, String, List<TypeDescriptor>) - Method in class org.springframework.expression.spel.support.ReflectiveMethodResolver
Locate a method on a type.

S

Selection - Class in org.springframework.expression.spel.ast
Represents selection over a map or collection.
Selection(boolean, int, int, SpelNodeImpl) - Constructor for class org.springframework.expression.spel.ast.Selection
 
setBeanResolver(BeanResolver) - Method in class org.springframework.expression.spel.support.StandardEvaluationContext
 
setConstructorResolvers(List<ConstructorResolver>) - Method in class org.springframework.expression.spel.support.StandardEvaluationContext
 
setEvaluationContext(EvaluationContext) - Method in class org.springframework.expression.spel.standard.SpelExpression
Set the evaluation context that will be used if none is specified on an evaluation call.
setLocalVariable(String, Object) - Method in class org.springframework.expression.spel.ExpressionState
 
setMethodResolvers(List<MethodResolver>) - Method in class org.springframework.expression.spel.support.StandardEvaluationContext
 
setOperatorOverloader(OperatorOverloader) - Method in class org.springframework.expression.spel.support.StandardEvaluationContext
 
setPosition(int) - Method in exception org.springframework.expression.spel.SpelEvaluationException
Set the position in the related expression which gave rise to this exception.
setPropertyAccessors(List<PropertyAccessor>) - Method in class org.springframework.expression.spel.support.StandardEvaluationContext
 
setRootObject(Object, TypeDescriptor) - Method in class org.springframework.expression.spel.support.StandardEvaluationContext
 
setRootObject(Object) - Method in class org.springframework.expression.spel.support.StandardEvaluationContext
 
setTypeComparator(TypeComparator) - Method in class org.springframework.expression.spel.support.StandardEvaluationContext
 
setTypeConverter(TypeConverter) - Method in class org.springframework.expression.spel.support.StandardEvaluationContext
 
setTypeLocator(TypeLocator) - Method in class org.springframework.expression.spel.support.StandardEvaluationContext
 
setupArgumentsForVarargsInvocation(Class<?>[], Object...) - Static method in class org.springframework.expression.spel.support.ReflectionHelper
Package up the arguments so that they correctly match what is expected in parameterTypes.
setValue(EvaluationContext, Object) - Method in class org.springframework.expression.common.CompositeStringExpression
 
setValue(EvaluationContext, Object, Object) - Method in class org.springframework.expression.common.CompositeStringExpression
 
setValue(Object, Object) - Method in class org.springframework.expression.common.CompositeStringExpression
 
setValue(EvaluationContext, Object) - Method in class org.springframework.expression.common.LiteralExpression
 
setValue(EvaluationContext, Object, Object) - Method in class org.springframework.expression.common.LiteralExpression
 
setValue(Object, Object) - Method in class org.springframework.expression.common.LiteralExpression
 
setValue(EvaluationContext, Object) - Method in interface org.springframework.expression.Expression
Set this expression in the provided context to the value provided.
setValue(Object, Object) - Method in interface org.springframework.expression.Expression
Set this expression in the provided context to the value provided.
setValue(EvaluationContext, Object, Object) - Method in interface org.springframework.expression.Expression
Set this expression in the provided context to the value provided.
setValue(ExpressionState, Object) - Method in class org.springframework.expression.spel.ast.CompoundExpression
 
setValue(ExpressionState, Object) - Method in class org.springframework.expression.spel.ast.Indexer
 
setValue(ExpressionState, Object) - Method in class org.springframework.expression.spel.ast.PropertyOrFieldReference
 
setValue(ExpressionState, Object) - Method in class org.springframework.expression.spel.ast.SpelNodeImpl
 
setValue(Object) - Method in class org.springframework.expression.spel.ast.ValueRef.NullValueRef
 
setValue(Object) - Method in interface org.springframework.expression.spel.ast.ValueRef
Sets the value this ValueRef points to, it should not require expression component re-evaluation.
setValue(Object) - Method in class org.springframework.expression.spel.ast.ValueRef.TypedValueHolderValueRef
 
setValue(ExpressionState, Object) - Method in class org.springframework.expression.spel.ast.VariableReference
 
setValue(ExpressionState, Object) - Method in interface org.springframework.expression.spel.SpelNode
Evaluate the expression to a node and then set the new value on that node.
setValue(EvaluationContext, Object) - Method in class org.springframework.expression.spel.standard.SpelExpression
 
setValue(Object, Object) - Method in class org.springframework.expression.spel.standard.SpelExpression
 
setValue(EvaluationContext, Object, Object) - Method in class org.springframework.expression.spel.standard.SpelExpression
 
setVariable(String, Object) - Method in interface org.springframework.expression.EvaluationContext
Set a named variable within this evaluation context to a specified value.
setVariable(String, Object) - Method in class org.springframework.expression.spel.ExpressionState
 
setVariable(String, Object) - Method in class org.springframework.expression.spel.support.StandardEvaluationContext
 
setVariables(Map<String, Object>) - Method in class org.springframework.expression.spel.support.StandardEvaluationContext
 
SpelEvaluationException - Exception in org.springframework.expression.spel
Root exception for Spring EL related exceptions.
SpelEvaluationException(SpelMessage, Object...) - Constructor for exception org.springframework.expression.spel.SpelEvaluationException
 
SpelEvaluationException(int, SpelMessage, Object...) - Constructor for exception org.springframework.expression.spel.SpelEvaluationException
 
SpelEvaluationException(int, Throwable, SpelMessage, Object...) - Constructor for exception org.springframework.expression.spel.SpelEvaluationException
 
SpelEvaluationException(Throwable, SpelMessage, Object...) - Constructor for exception org.springframework.expression.spel.SpelEvaluationException
 
SpelExpression - Class in org.springframework.expression.spel.standard
A SpelExpression represents a parsed (valid) expression that is ready to be evaluated in a specified context.
SpelExpression(String, SpelNodeImpl, SpelParserConfiguration) - Constructor for class org.springframework.expression.spel.standard.SpelExpression
Construct an expression, only used by the parser.
SpelExpressionParser - Class in org.springframework.expression.spel.standard
SpEL parser.
SpelExpressionParser() - Constructor for class org.springframework.expression.spel.standard.SpelExpressionParser
Create a parser with standard configuration.
SpelExpressionParser(SpelParserConfiguration) - Constructor for class org.springframework.expression.spel.standard.SpelExpressionParser
Create a parser with some configured behavior.
SpelMessage - Enum in org.springframework.expression.spel
Contains all the messages that can be produced by the Spring Expression Language.
SpelMessage.Kind - Enum in org.springframework.expression.spel
 
SpelNode - Interface in org.springframework.expression.spel
Represents a node in the Ast for a parsed expression.
SpelNodeImpl - Class in org.springframework.expression.spel.ast
The common supertype of all AST nodes in a parsed Spring Expression Language format expression.
SpelNodeImpl(int, SpelNodeImpl...) - Constructor for class org.springframework.expression.spel.ast.SpelNodeImpl
 
SpelParseException - Exception in org.springframework.expression.spel
Root exception for Spring EL related exceptions.
SpelParseException(String, int, SpelMessage, Object...) - Constructor for exception org.springframework.expression.spel.SpelParseException
 
SpelParseException(int, SpelMessage, Object...) - Constructor for exception org.springframework.expression.spel.SpelParseException
 
SpelParseException(int, Throwable, SpelMessage, Object...) - Constructor for exception org.springframework.expression.spel.SpelParseException
 
SpelParserConfiguration - Class in org.springframework.expression.spel
Configuration object for the SpEL expression parser.
SpelParserConfiguration(boolean, boolean) - Constructor for class org.springframework.expression.spel.SpelParserConfiguration
Create a new SpelParserConfiguration instance.
SpelParserConfiguration(boolean, boolean, int) - Constructor for class org.springframework.expression.spel.SpelParserConfiguration
Create a new SpelParserConfiguration instance.
StandardEvaluationContext - Class in org.springframework.expression.spel.support
Provides a default EvaluationContext implementation.
StandardEvaluationContext() - Constructor for class org.springframework.expression.spel.support.StandardEvaluationContext
 
StandardEvaluationContext(Object) - Constructor for class org.springframework.expression.spel.support.StandardEvaluationContext
 
StandardOperatorOverloader - Class in org.springframework.expression.spel.support
 
StandardOperatorOverloader() - Constructor for class org.springframework.expression.spel.support.StandardOperatorOverloader
 
StandardTypeComparator - Class in org.springframework.expression.spel.support
A simple basic TypeComparator implementation.
StandardTypeComparator() - Constructor for class org.springframework.expression.spel.support.StandardTypeComparator
 
StandardTypeConverter - Class in org.springframework.expression.spel.support
Default implementation of the TypeConverter interface, delegating to a core Spring ConversionService.
StandardTypeConverter() - Constructor for class org.springframework.expression.spel.support.StandardTypeConverter
Create a StandardTypeConverter for the default ConversionService.
StandardTypeConverter(ConversionService) - Constructor for class org.springframework.expression.spel.support.StandardTypeConverter
Create a StandardTypeConverter for the given ConversionService.
StandardTypeLocator - Class in org.springframework.expression.spel.support
A simple implementation of TypeLocator that uses the context ClassLoader (or any ClassLoader set upon it).
StandardTypeLocator() - Constructor for class org.springframework.expression.spel.support.StandardTypeLocator
Create a StandardTypeLocator for the default ClassLoader (typically, the thread context ClassLoader).
StandardTypeLocator(ClassLoader) - Constructor for class org.springframework.expression.spel.support.StandardTypeLocator
Create a StandardTypeLocator for the given ClassLoader.
StringLiteral - Class in org.springframework.expression.spel.ast
Expression language AST node that represents a string literal.
StringLiteral(String, int, String) - Constructor for class org.springframework.expression.spel.ast.StringLiteral
 

T

TEMPLATE_EXPRESSION - Static variable in interface org.springframework.expression.ParserContext
The default ParserContext implementation that enables template expression parsing mode.
TemplateAwareExpressionParser - Class in org.springframework.expression.common
An expression parser that understands templates.
TemplateAwareExpressionParser() - Constructor for class org.springframework.expression.common.TemplateAwareExpressionParser
 
TemplateParserContext - Class in org.springframework.expression.common
Configurable ParserContext implementation for template parsing.
TemplateParserContext() - Constructor for class org.springframework.expression.common.TemplateParserContext
Create a new TemplateParserContext with the default "#{" prefix and "}" suffix.
TemplateParserContext(String, String) - Constructor for class org.springframework.expression.common.TemplateParserContext
Create a new TemplateParserContext for the given prefix and suffix.
Ternary - Class in org.springframework.expression.spel.ast
Represents a ternary expression, for example: "someCheck()?true:false".
Ternary(int, SpelNodeImpl...) - Constructor for class org.springframework.expression.spel.ast.Ternary
 
toBoolean(TypeConverter, TypedValue) - Static method in class org.springframework.expression.common.ExpressionUtils
Attempt to convert a typed value to a boolean using the supplied type converter.
toByte(TypeConverter, TypedValue) - Static method in class org.springframework.expression.common.ExpressionUtils
Attempt to convert a typed value to a byte using the supplied type converter.
toChar(TypeConverter, TypedValue) - Static method in class org.springframework.expression.common.ExpressionUtils
Attempt to convert a typed value to a char using the supplied type converter.
toDetailedString() - Method in exception org.springframework.expression.ExpressionException
 
toDouble(TypeConverter, TypedValue) - Static method in class org.springframework.expression.common.ExpressionUtils
Attempt to convert a typed value to a double using the supplied type converter.
toFloat(TypeConverter, TypedValue) - Static method in class org.springframework.expression.common.ExpressionUtils
Attempt to convert a typed value to a float using the supplied type converter.
toInt(TypeConverter, TypedValue) - Static method in class org.springframework.expression.common.ExpressionUtils
Attempt to convert a typed value to an int using the supplied type converter.
toLong(TypeConverter, TypedValue) - Static method in class org.springframework.expression.common.ExpressionUtils
Attempt to convert a typed value to a long using the supplied type converter.
toShort(TypeConverter, TypedValue) - Static method in class org.springframework.expression.common.ExpressionUtils
Attempt to convert a typed value to a short using the supplied type converter.
toString() - Method in class org.springframework.expression.spel.ast.Literal
 
toString() - Method in class org.springframework.expression.spel.ast.NullLiteral
 
toString() - Method in class org.springframework.expression.spel.ast.StringLiteral
 
toString() - Method in class org.springframework.expression.TypedValue
 
toStringAST() - Method in class org.springframework.expression.spel.ast.Assign
 
toStringAST() - Method in class org.springframework.expression.spel.ast.BeanReference
 
toStringAST() - Method in class org.springframework.expression.spel.ast.CompoundExpression
 
toStringAST() - Method in class org.springframework.expression.spel.ast.ConstructorReference
 
toStringAST() - Method in class org.springframework.expression.spel.ast.Elvis
 
toStringAST() - Method in class org.springframework.expression.spel.ast.FunctionReference
 
toStringAST() - Method in class org.springframework.expression.spel.ast.Identifier
 
toStringAST() - Method in class org.springframework.expression.spel.ast.Indexer
 
toStringAST() - Method in class org.springframework.expression.spel.ast.InlineList
 
toStringAST() - Method in class org.springframework.expression.spel.ast.Literal
 
toStringAST() - Method in class org.springframework.expression.spel.ast.MethodReference
 
toStringAST() - Method in class org.springframework.expression.spel.ast.OpDec
 
toStringAST() - Method in class org.springframework.expression.spel.ast.Operator
String format for all operators is the same '(' [operand] [operator] [operand] ')'
toStringAST() - Method in class org.springframework.expression.spel.ast.OperatorNot
 
toStringAST() - Method in class org.springframework.expression.spel.ast.OpInc
 
toStringAST() - Method in class org.springframework.expression.spel.ast.OpMinus
 
toStringAST() - Method in class org.springframework.expression.spel.ast.OpPlus
 
toStringAST() - Method in class org.springframework.expression.spel.ast.Projection
 
toStringAST() - Method in class org.springframework.expression.spel.ast.PropertyOrFieldReference
 
toStringAST() - Method in class org.springframework.expression.spel.ast.QualifiedIdentifier
 
toStringAST() - Method in class org.springframework.expression.spel.ast.Selection
 
toStringAST() - Method in class org.springframework.expression.spel.ast.Ternary
 
toStringAST() - Method in class org.springframework.expression.spel.ast.TypeReference
 
toStringAST() - Method in class org.springframework.expression.spel.ast.VariableReference
 
toStringAST() - Method in interface org.springframework.expression.spel.SpelNode
 
toStringAST() - Method in class org.springframework.expression.spel.standard.SpelExpression
Produce a string representation of the Abstract Syntax Tree for the expression, this should ideally look like the input expression, but properly formatted since any unnecessary whitespace will have been discarded during the parse of the expression.
TRUE - Static variable in class org.springframework.expression.spel.support.BooleanTypedValue
 
TypeCode - Enum in org.springframework.expression.spel.ast
Captures primitive types and their corresponding class objects, plus one special entry that represents all reference (non-primitive) types.
TypeComparator - Interface in org.springframework.expression
Instances of a type comparator should be able to compare pairs of objects for equality.
TypeConverter - Interface in org.springframework.expression
A type converter can convert values between different types encountered during expression evaluation.
TypedValue - Class in org.springframework.expression
Encapsulates an object and a TypeDescriptor that describes it.
TypedValue(Object) - Constructor for class org.springframework.expression.TypedValue
Create a TypedValue for a simple object.
TypedValue(Object, TypeDescriptor) - Constructor for class org.springframework.expression.TypedValue
Create a TypedValue for a particular value with a particular TypeDescriptor which may contain additional generic declarations.
TypedValueHolderValueRef(TypedValue, SpelNodeImpl) - Constructor for class org.springframework.expression.spel.ast.ValueRef.TypedValueHolderValueRef
 
TypeLocator - Interface in org.springframework.expression
Implementers of this interface are expected to be able to locate types.
TypeReference - Class in org.springframework.expression.spel.ast
Represents a reference to a type, for example "T(String)" or "T(com.somewhere.Foo)"
TypeReference(int, SpelNodeImpl) - Constructor for class org.springframework.expression.spel.ast.TypeReference
 
TypeReference(int, SpelNodeImpl, int) - Constructor for class org.springframework.expression.spel.ast.TypeReference
 

V

valueOf(String) - Static method in enum org.springframework.expression.Operation
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum org.springframework.expression.spel.ast.TypeCode
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum org.springframework.expression.spel.SpelMessage.Kind
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum org.springframework.expression.spel.SpelMessage
Returns the enum constant of this type with the specified name.
ValueRef - Interface in org.springframework.expression.spel.ast
Represents a reference to a value.
ValueRef.NullValueRef - Class in org.springframework.expression.spel.ast
A ValueRef for the null value.
ValueRef.TypedValueHolderValueRef - Class in org.springframework.expression.spel.ast
A ValueRef holder for a single value, which cannot be set.
values() - Static method in enum org.springframework.expression.Operation
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum org.springframework.expression.spel.ast.TypeCode
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum org.springframework.expression.spel.SpelMessage.Kind
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum org.springframework.expression.spel.SpelMessage
Returns an array containing the constants of this enum type, in the order they are declared.
VariableReference - Class in org.springframework.expression.spel.ast
Represents a variable reference, eg.
VariableReference(String, int) - Constructor for class org.springframework.expression.spel.ast.VariableReference
 

W

write(EvaluationContext, Object, String, Object) - Method in interface org.springframework.expression.PropertyAccessor
Called to write to a property on a specified target object.
write(EvaluationContext, Object, String, Object) - Method in class org.springframework.expression.spel.support.ReflectivePropertyAccessor
 
A B C D E F G H I L M N O P Q R S T V W 
Skip navigation links
spring-expression