Package | Description |
---|---|
org.springframework.context.expression |
Expression parsing support within a Spring application context.
|
org.springframework.expression |
Core abstractions behind the Spring Expression Language.
|
org.springframework.expression.spel.support |
SpEL's default implementations for various core abstractions.
|
Modifier and Type | Method and Description |
---|---|
boolean |
EnvironmentAccessor.canRead(EvaluationContext context,
java.lang.Object target,
java.lang.String name)
Can read any
Environment , thus always returns true. |
boolean |
BeanExpressionContextAccessor.canRead(EvaluationContext context,
java.lang.Object target,
java.lang.String name) |
boolean |
BeanFactoryAccessor.canRead(EvaluationContext context,
java.lang.Object target,
java.lang.String name) |
boolean |
MapAccessor.canRead(EvaluationContext context,
java.lang.Object target,
java.lang.String name) |
boolean |
EnvironmentAccessor.canWrite(EvaluationContext context,
java.lang.Object target,
java.lang.String name)
Read-only: returns
false . |
boolean |
BeanExpressionContextAccessor.canWrite(EvaluationContext context,
java.lang.Object target,
java.lang.String name) |
boolean |
BeanFactoryAccessor.canWrite(EvaluationContext context,
java.lang.Object target,
java.lang.String name) |
boolean |
MapAccessor.canWrite(EvaluationContext context,
java.lang.Object target,
java.lang.String name) |
TypedValue |
EnvironmentAccessor.read(EvaluationContext context,
java.lang.Object target,
java.lang.String name)
Access the given target object by resolving the given property name against the given target
environment.
|
TypedValue |
BeanExpressionContextAccessor.read(EvaluationContext context,
java.lang.Object target,
java.lang.String name) |
TypedValue |
BeanFactoryAccessor.read(EvaluationContext context,
java.lang.Object target,
java.lang.String name) |
TypedValue |
MapAccessor.read(EvaluationContext context,
java.lang.Object target,
java.lang.String name) |
java.lang.Object |
BeanFactoryResolver.resolve(EvaluationContext context,
java.lang.String beanName) |
void |
EnvironmentAccessor.write(EvaluationContext context,
java.lang.Object target,
java.lang.String name,
java.lang.Object newValue)
Read-only: no-op.
|
void |
BeanExpressionContextAccessor.write(EvaluationContext context,
java.lang.Object target,
java.lang.String name,
java.lang.Object newValue) |
void |
BeanFactoryAccessor.write(EvaluationContext context,
java.lang.Object target,
java.lang.String name,
java.lang.Object newValue) |
void |
MapAccessor.write(EvaluationContext context,
java.lang.Object target,
java.lang.String name,
java.lang.Object newValue) |
Modifier and Type | Method and Description |
---|---|
boolean |
PropertyAccessor.canRead(EvaluationContext context,
java.lang.Object target,
java.lang.String name)
Called to determine if a resolver instance is able to access a specified property
on a specified target object.
|
boolean |
PropertyAccessor.canWrite(EvaluationContext context,
java.lang.Object target,
java.lang.String name)
Called to determine if a resolver instance is able to write to a specified
property on a specified target object.
|
TypedValue |
ConstructorExecutor.execute(EvaluationContext context,
java.lang.Object... arguments)
Execute a constructor in the specified context using the specified arguments.
|
TypedValue |
MethodExecutor.execute(EvaluationContext context,
java.lang.Object target,
java.lang.Object... arguments)
Execute a command using the specified arguments, and using the specified expression state.
|
TypedValue |
PropertyAccessor.read(EvaluationContext context,
java.lang.Object target,
java.lang.String name)
Called to read a property from a specified target object.
|
MethodExecutor |
MethodResolver.resolve(EvaluationContext context,
java.lang.Object targetObject,
java.lang.String name,
java.util.List<TypeDescriptor> argumentTypes)
Within the supplied context determine a suitable method on the supplied object that
can handle the specified arguments.
|
java.lang.Object |
BeanResolver.resolve(EvaluationContext context,
java.lang.String beanName)
Look up a bean by the given name and return a corresponding instance for it.
|
ConstructorExecutor |
ConstructorResolver.resolve(EvaluationContext context,
java.lang.String typeName,
java.util.List<TypeDescriptor> argumentTypes)
Within the supplied context determine a suitable constructor on the supplied type
that can handle the specified arguments.
|
void |
PropertyAccessor.write(EvaluationContext context,
java.lang.Object target,
java.lang.String name,
java.lang.Object newValue)
Called to write to a property on a specified target object.
|
Modifier and Type | Method and Description |
---|---|
boolean |
ReflectivePropertyAccessor.canRead(EvaluationContext context,
java.lang.Object target,
java.lang.String name) |
boolean |
ReflectivePropertyAccessor.OptimalPropertyAccessor.canRead(EvaluationContext context,
java.lang.Object target,
java.lang.String name) |
boolean |
ReflectivePropertyAccessor.canWrite(EvaluationContext context,
java.lang.Object target,
java.lang.String name) |
TypedValue |
ReflectiveConstructorExecutor.execute(EvaluationContext context,
java.lang.Object... arguments) |
TypedValue |
ReflectiveMethodExecutor.execute(EvaluationContext context,
java.lang.Object target,
java.lang.Object... arguments) |
TypedValue |
ReflectivePropertyAccessor.read(EvaluationContext context,
java.lang.Object target,
java.lang.String name) |
TypedValue |
ReflectivePropertyAccessor.OptimalPropertyAccessor.read(EvaluationContext context,
java.lang.Object target,
java.lang.String name) |
MethodExecutor |
ReflectiveMethodResolver.resolve(EvaluationContext context,
java.lang.Object targetObject,
java.lang.String name,
java.util.List<TypeDescriptor> argumentTypes)
Locate a method on a type.
|
MethodExecutor |
DataBindingMethodResolver.resolve(EvaluationContext context,
java.lang.Object targetObject,
java.lang.String name,
java.util.List<TypeDescriptor> argumentTypes) |
ConstructorExecutor |
ReflectiveConstructorResolver.resolve(EvaluationContext context,
java.lang.String typeName,
java.util.List<TypeDescriptor> argumentTypes)
Locate a constructor on the type.
|
void |
ReflectivePropertyAccessor.write(EvaluationContext context,
java.lang.Object target,
java.lang.String name,
java.lang.Object newValue) |