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