パッケージ | 説明 |
---|---|
org.springframework.context.expression | Spring アプリケーションコンテキスト内の式解析サポート。 |
org.springframework.expression | Spring Expression Language の背後にあるコア抽象化。 |
org.springframework.expression.common | Spring Expression Language の背後にある一般的なユーティリティクラス。 |
org.springframework.expression.spel | SpEL の中央実装パッケージ。 |
org.springframework.expression.spel.ast | SpEL の抽象構文ツリー。 |
org.springframework.expression.spel.standard | SpEL の標準パーサー実装。 |
org.springframework.expression.spel.support | さまざまなコア抽象化のための SpEL のデフォルト実装。 |
修飾子と型 | クラスと説明 |
---|---|
class | MethodBasedEvaluationContext メソッドベースの呼び出しを明示的にサポートするメソッドベースの EvaluationContext 。 |
修飾子と型 | メソッドと説明 |
---|---|
boolean | BeanExpressionContextAccessor.canRead(EvaluationContext context, ObjectSE target, StringSE name) |
boolean | BeanFactoryAccessor.canRead(EvaluationContext context, ObjectSE target, StringSE name) |
boolean | EnvironmentAccessor.canRead(EvaluationContext context, ObjectSE target, StringSE name) Environment を読み取ることができるため、常に true を返します。 |
boolean | MapAccessor.canRead(EvaluationContext context, ObjectSE target, StringSE name) |
boolean | BeanExpressionContextAccessor.canWrite(EvaluationContext context, ObjectSE target, StringSE name) |
boolean | BeanFactoryAccessor.canWrite(EvaluationContext context, ObjectSE target, StringSE name) |
boolean | EnvironmentAccessor.canWrite(EvaluationContext context, ObjectSE target, StringSE name) 読み取り専用: false を返します。 |
boolean | MapAccessor.canWrite(EvaluationContext context, ObjectSE target, StringSE name) |
TypedValue | BeanExpressionContextAccessor.read(EvaluationContext context, ObjectSE target, StringSE name) |
TypedValue | BeanFactoryAccessor.read(EvaluationContext context, ObjectSE target, StringSE name) |
TypedValue | EnvironmentAccessor.read(EvaluationContext context, ObjectSE target, StringSE name) 特定のターゲット環境に対して特定のプロパティ名を解決することにより、特定のターゲットオブジェクトにアクセスします。 |
TypedValue | MapAccessor.read(EvaluationContext context, ObjectSE target, StringSE name) |
ObjectSE | BeanFactoryResolver.resolve(EvaluationContext context, StringSE beanName) |
void | BeanExpressionContextAccessor.write(EvaluationContext context, ObjectSE target, StringSE name, ObjectSE newValue) |
void | BeanFactoryAccessor.write(EvaluationContext context, ObjectSE target, StringSE name, ObjectSE newValue) |
void | EnvironmentAccessor.write(EvaluationContext context, ObjectSE target, StringSE name, ObjectSE newValue) 読み取り専用: 動作しません。 |
void | MapAccessor.write(EvaluationContext context, ObjectSE target, StringSE name, ObjectSE newValue) |
修飾子と型 | メソッドと説明 |
---|---|
boolean | PropertyAccessor.canRead(EvaluationContext context, ObjectSE target, StringSE name) リゾルバーインスタンスが指定されたターゲットオブジェクトの指定されたプロパティにアクセスできるかどうかを判断するために呼び出されます。 |
boolean | PropertyAccessor.canWrite(EvaluationContext context, ObjectSE target, StringSE name) リゾルバーインスタンスが指定されたターゲットオブジェクトの指定されたプロパティに書き込むことができるかどうかを判断するために呼び出されます。 |
TypedValue | ConstructorExecutor.execute(EvaluationContext context, ObjectSE... arguments) 指定された引数を使用して、指定されたコンテキストでコンストラクターを実行します。 |
TypedValue | MethodExecutor.execute(EvaluationContext context, ObjectSE target, ObjectSE... arguments) 指定された引数を使用し、指定された式の状態を使用してコマンドを実行します。 |
ObjectSE | Expression.getValue(EvaluationContext context) 指定されたコンテキストでこの式を評価し、評価の結果を返します。 |
<T> T | Expression.getValue(EvaluationContext context, ClassSE<T> desiredResultType) プロパティ、メソッド、型などへの参照を解決できる指定されたコンテキストで式を評価します。 |
ObjectSE | Expression.getValue(EvaluationContext context, ObjectSE rootObject) 指定されたコンテキストでこの式を評価し、評価の結果を返しますが、コンテキストで指定されたデフォルトのルートオブジェクトのオーバーライドとして、指定されたルートコンテキストを使用します。 |
<T> T | Expression.getValue(EvaluationContext context, ObjectSE rootObject, ClassSE<T> desiredResultType) プロパティ、メソッド、型などへの参照を解決できる指定されたコンテキストで式を評価します。 |
ClassSE<?> | Expression.getValueType(EvaluationContext context) 指定されたコンテキストの Expression.setValue(EvaluationContext, Object) メソッドに渡すことができる最も一般的な型を返します。 |
ClassSE<?> | Expression.getValueType(EvaluationContext context, ObjectSE rootObject) 指定されたコンテキストの Expression.setValue(EvaluationContext, Object, Object) メソッドに渡すことができる最も一般的な型を返します。 |
TypeDescriptor | Expression.getValueTypeDescriptor(EvaluationContext context) 指定されたコンテキストの Expression.setValue(EvaluationContext, Object) メソッドに渡すことができる最も一般的な型を返します。 |
TypeDescriptor | Expression.getValueTypeDescriptor(EvaluationContext context, ObjectSE rootObject) 指定されたコンテキストの Expression.setValue(EvaluationContext, Object, Object) メソッドに渡すことができる最も一般的な型を返します。 |
boolean | Expression.isWritable(EvaluationContext context) 式を書き込むことができるかどうかを決定します。 |
boolean | Expression.isWritable(EvaluationContext context, ObjectSE rootObject) 式を書き込むことができるかどうかを決定します。 |
TypedValue | PropertyAccessor.read(EvaluationContext context, ObjectSE target, StringSE name) 指定されたターゲットオブジェクトからプロパティを読み取るために呼び出されます。 |
MethodExecutor | MethodResolver.resolve(EvaluationContext context, ObjectSE targetObject, StringSE name, ListSE<TypeDescriptor> argumentTypes) 指定されたコンテキスト内で、指定された引数を処理できる、指定されたオブジェクトの適切なメソッドを決定します。 |
ObjectSE | BeanResolver.resolve(EvaluationContext context, StringSE beanName) 指定された名前で Bean を検索し、それに対応するインスタンスを返します。 |
ConstructorExecutor | ConstructorResolver.resolve(EvaluationContext context, StringSE typeName, ListSE<TypeDescriptor> argumentTypes) 指定されたコンテキスト内で、指定された引数を処理できる、指定された型の適切なコンストラクターを決定します。 |
void | Expression.setValue(EvaluationContext context, ObjectSE value) 提供されたコンテキストでこの式を提供された値に設定します。 |
void | Expression.setValue(EvaluationContext context, ObjectSE rootObject, ObjectSE value) 提供されたコンテキストでこの式を提供された値に設定します。 |
void | PropertyAccessor.write(EvaluationContext context, ObjectSE target, StringSE name, ObjectSE newValue) 指定されたターゲットオブジェクトのプロパティに書き込むために呼び出されます。 |
修飾子と型 | メソッドと説明 |
---|---|
static <T> T | ExpressionUtils.convertTypedValue(EvaluationContext context, TypedValue typedValue, ClassSE<T> targetType) 指定されたコンテキストで使用可能な型コンバーターがあるかどうかを判別し、それを使用して、指定された値を指定された型に変換しようとします。 |
StringSE | CompositeStringExpression.getValue(EvaluationContext context) |
StringSE | LiteralExpression.getValue(EvaluationContext context) |
<T> T | CompositeStringExpression.getValue(EvaluationContext context, ClassSE<T> expectedResultType) |
<T> T | LiteralExpression.getValue(EvaluationContext context, ClassSE<T> expectedResultType) |
StringSE | CompositeStringExpression.getValue(EvaluationContext context, ObjectSE rootObject) |
StringSE | LiteralExpression.getValue(EvaluationContext context, ObjectSE rootObject) |
<T> T | CompositeStringExpression.getValue(EvaluationContext context, ObjectSE rootObject, ClassSE<T> desiredResultType) |
<T> T | LiteralExpression.getValue(EvaluationContext context, ObjectSE rootObject, ClassSE<T> desiredResultType) |
ClassSE<?> | CompositeStringExpression.getValueType(EvaluationContext context) |
ClassSE<?> | LiteralExpression.getValueType(EvaluationContext context) |
ClassSE<?> | CompositeStringExpression.getValueType(EvaluationContext context, ObjectSE rootObject) |
ClassSE<?> | LiteralExpression.getValueType(EvaluationContext context, ObjectSE rootObject) |
TypeDescriptor | CompositeStringExpression.getValueTypeDescriptor(EvaluationContext context) |
TypeDescriptor | LiteralExpression.getValueTypeDescriptor(EvaluationContext context) |
TypeDescriptor | CompositeStringExpression.getValueTypeDescriptor(EvaluationContext context, ObjectSE rootObject) |
TypeDescriptor | LiteralExpression.getValueTypeDescriptor(EvaluationContext context, ObjectSE rootObject) |
boolean | CompositeStringExpression.isWritable(EvaluationContext context) |
boolean | LiteralExpression.isWritable(EvaluationContext context) |
boolean | CompositeStringExpression.isWritable(EvaluationContext context, ObjectSE rootObject) |
boolean | LiteralExpression.isWritable(EvaluationContext context, ObjectSE rootObject) |
void | CompositeStringExpression.setValue(EvaluationContext context, ObjectSE value) |
void | LiteralExpression.setValue(EvaluationContext context, ObjectSE value) |
void | CompositeStringExpression.setValue(EvaluationContext context, ObjectSE rootObject, ObjectSE value) |
void | LiteralExpression.setValue(EvaluationContext context, ObjectSE rootObject, ObjectSE value) |
修飾子と型 | メソッドと説明 |
---|---|
EvaluationContext | ExpressionState.getEvaluationContext() |
修飾子と型 | メソッドと説明 |
---|---|
abstract ObjectSE | CompiledExpression.getValue(ObjectSE target, EvaluationContext context) SpelCompiler によって生成された CompiledExpression のサブクラスは、このメソッドの実装を提供します。 |
コンストラクターと説明 |
---|
ExpressionState(EvaluationContext context) |
ExpressionState(EvaluationContext context, SpelParserConfiguration configuration) |
ExpressionState(EvaluationContext context, TypedValue rootObject) |
ExpressionState(EvaluationContext context, TypedValue rootObject, SpelParserConfiguration configuration) |
修飾子と型 | メソッドと説明 |
---|---|
static boolean | Operator.equalityCheck(EvaluationContext context, ObjectSE left, ObjectSE right) 指定されたオペランド値の等価性チェックを実行します。 |
boolean | PropertyOrFieldReference.isWritableProperty(StringSE name, TypedValue contextObject, EvaluationContext evalContext) |
修飾子と型 | メソッドと説明 |
---|---|
EvaluationContext | SpelExpression.getEvaluationContext() 評価呼び出しで何も指定されていない場合に使用されるデフォルトの評価コンテキストを返します。 |
修飾子と型 | メソッドと説明 |
---|---|
ObjectSE | SpelExpression.getValue(EvaluationContext context) |
<T> T | SpelExpression.getValue(EvaluationContext context, ClassSE<T> expectedResultType) |
ObjectSE | SpelExpression.getValue(EvaluationContext context, ObjectSE rootObject) |
<T> T | SpelExpression.getValue(EvaluationContext context, ObjectSE rootObject, ClassSE<T> expectedResultType) |
ClassSE<?> | SpelExpression.getValueType(EvaluationContext context) |
ClassSE<?> | SpelExpression.getValueType(EvaluationContext context, ObjectSE rootObject) |
TypeDescriptor | SpelExpression.getValueTypeDescriptor(EvaluationContext context) |
TypeDescriptor | SpelExpression.getValueTypeDescriptor(EvaluationContext context, ObjectSE rootObject) |
boolean | SpelExpression.isWritable(EvaluationContext context) |
boolean | SpelExpression.isWritable(EvaluationContext context, ObjectSE rootObject) |
void | SpelExpression.setEvaluationContext(EvaluationContext evaluationContext) 評価呼び出しで何も指定されていない場合に使用される評価コンテキストを設定します。 |
void | SpelExpression.setValue(EvaluationContext context, ObjectSE value) |
void | SpelExpression.setValue(EvaluationContext context, ObjectSE rootObject, ObjectSE value) |
修飾子と型 | クラスと説明 |
---|---|
class | SimpleEvaluationContext 基本的な SpEL 機能とカスタマイズオプションのサブセットに焦点を当てた EvaluationContext の基本的な実装で、単純な条件評価と特定のデータバインディングシナリオを対象としています。 |
class | StandardEvaluationContext 強力で高度に構成可能な EvaluationContext 実装。 |
修飾子と型 | メソッドと説明 |
---|---|
boolean | ReflectivePropertyAccessor.canRead(EvaluationContext context, ObjectSE target, StringSE name) |
boolean | ReflectivePropertyAccessor.OptimalPropertyAccessor.canRead(EvaluationContext context, ObjectSE target, StringSE name) |
boolean | ReflectivePropertyAccessor.canWrite(EvaluationContext context, ObjectSE target, StringSE name) |
boolean | ReflectivePropertyAccessor.OptimalPropertyAccessor.canWrite(EvaluationContext context, ObjectSE target, StringSE name) |
PropertyAccessor | ReflectivePropertyAccessor.createOptimalAccessor(EvaluationContext context, ObjectSE target, StringSE name) 特定のクラスの特定の名前のプロパティに合わせて最適化されたプロパティアクセサーを作成しようとします。 |
TypedValue | ReflectiveConstructorExecutor.execute(EvaluationContext context, ObjectSE... arguments) |
TypedValue | ReflectiveMethodExecutor.execute(EvaluationContext context, ObjectSE target, ObjectSE... arguments) |
TypedValue | ReflectivePropertyAccessor.read(EvaluationContext context, ObjectSE target, StringSE name) |
TypedValue | ReflectivePropertyAccessor.OptimalPropertyAccessor.read(EvaluationContext context, ObjectSE target, StringSE name) |
MethodExecutor | DataBindingMethodResolver.resolve(EvaluationContext context, ObjectSE targetObject, StringSE name, ListSE<TypeDescriptor> argumentTypes) |
MethodExecutor | ReflectiveMethodResolver.resolve(EvaluationContext context, ObjectSE targetObject, StringSE name, ListSE<TypeDescriptor> argumentTypes) 型のメソッドを見つけます。 |
ConstructorExecutor | ReflectiveConstructorResolver.resolve(EvaluationContext context, StringSE typeName, ListSE<TypeDescriptor> argumentTypes) 型のコンストラクターを見つけます。 |
void | ReflectivePropertyAccessor.write(EvaluationContext context, ObjectSE target, StringSE name, ObjectSE newValue) |
void | ReflectivePropertyAccessor.OptimalPropertyAccessor.write(EvaluationContext context, ObjectSE target, StringSE name, ObjectSE newValue) |