クラスの使用
org.springframework.expression.EvaluationException
パッケージ
説明
Spring Expression Language の背後にあるコア抽象化。
Spring Expression Language の背後にある一般的なユーティリティクラス。
SpEL の中央実装パッケージ。
SpEL の抽象構文ツリー。
SpEL の標準パーサー実装。
さまざまなコア抽象化のための SpEL のデフォルト実装。
org.springframework.expression 内の EvaluationException 使用
修飾子と型クラス説明class
この例外は、SpEL が呼び出すいくつかのメソッドによってスローされたチェック済み例外を(原因として)ラップします。修飾子と型メソッド説明int
指定された 2 つのオブジェクトを比較します。ClassSE<?>
名前で型を検索します。Expression.getValue()
この式をデフォルトの標準コンテキストで評価します。<T> T
デフォルトのコンテキストで式を評価します。指定されたルートオブジェクトに対してこの式を評価します。<T> T
指定されたルートオブジェクトに対して既定のコンテキストで式を評価します。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()
デフォルトのコンテキストを使用してExpression.setValue(java.lang.Object, java.lang.Object)
メソッドに渡すことができる最も一般的な型を返します。ClassSE<?>
Expression.getValueType
(ObjectSE rootObject) デフォルトのコンテキストを使用してExpression.setValue(Object, Object)
メソッドに渡すことができる最も一般的な型を返します。ClassSE<?>
Expression.getValueType
(EvaluationContext context) 指定されたコンテキストのExpression.setValue(EvaluationContext, Object)
メソッドに渡すことができる最も一般的な型を返します。ClassSE<?>
Expression.getValueType
(EvaluationContext context, ObjectSE rootObject) 指定されたコンテキストのExpression.setValue(EvaluationContext, Object, Object)
メソッドに渡すことができる最も一般的な型を返します。Expression.getValueTypeDescriptor()
デフォルトのコンテキストを使用してExpression.setValue(java.lang.Object, java.lang.Object)
メソッドに渡すことができる最も一般的な型を返します。Expression.getValueTypeDescriptor
(ObjectSE rootObject) デフォルトのコンテキストを使用してExpression.setValue(Object, Object)
メソッドに渡すことができる最も一般的な型を返します。Expression.getValueTypeDescriptor
(EvaluationContext context) 指定されたコンテキストのExpression.setValue(EvaluationContext, Object)
メソッドに渡すことができる最も一般的な型を返します。Expression.getValueTypeDescriptor
(EvaluationContext context, ObjectSE rootObject) 指定されたコンテキストのExpression.setValue(EvaluationContext, Object, Object)
メソッドに渡すことができる最も一般的な型を返します。boolean
Expression.isWritable
(ObjectSE rootObject) 式を書き込むことができるかどうかを決定します。boolean
Expression.isWritable
(EvaluationContext context) 式を書き込むことができるかどうかを決定します。boolean
Expression.isWritable
(EvaluationContext context, ObjectSE rootObject) 式を書き込むことができるかどうかを決定します。2 つのオペランドで指定された操作を実行し、結果を返します。boolean
OperatorOverloader.overridesOperation
(Operation operation, ObjectSE leftOperand, ObjectSE rightOperand) 演算子オーバーローダーが 2 つのオペランド間の指定された演算をサポートし、それを処理するために呼び出す必要がある場合は、true を返します。void
提供されたコンテキストでこの式を提供された値に設定します。void
Expression.setValue
(EvaluationContext context, ObjectSE value) 提供されたコンテキストでこの式を提供された値に設定します。void
Expression.setValue
(EvaluationContext context, ObjectSE rootObject, ObjectSE value) 提供されたコンテキストでこの式を提供された値に設定します。org.springframework.expression.common 内の EvaluationException 使用
修飾子と型メソッド説明CompositeStringExpression.getValue()
<T> T
<T> T
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) <T> T
<T> T
<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
(ObjectSE rootObject) ClassSE<?>
CompositeStringExpression.getValueType
(EvaluationContext context, ObjectSE rootObject) ClassSE<?>
LiteralExpression.getValueType
(ObjectSE rootObject) ClassSE<?>
LiteralExpression.getValueType
(EvaluationContext context, ObjectSE rootObject) CompositeStringExpression.getValueTypeDescriptor
(ObjectSE rootObject) CompositeStringExpression.getValueTypeDescriptor
(EvaluationContext context, ObjectSE rootObject) LiteralExpression.getValueTypeDescriptor
(ObjectSE rootObject) LiteralExpression.getValueTypeDescriptor
(EvaluationContext context, ObjectSE rootObject) boolean
CompositeStringExpression.isWritable
(ObjectSE rootObject) boolean
CompositeStringExpression.isWritable
(EvaluationContext context, ObjectSE rootObject) boolean
LiteralExpression.isWritable
(ObjectSE rootObject) boolean
LiteralExpression.isWritable
(EvaluationContext context, ObjectSE rootObject) void
void
CompositeStringExpression.setValue
(EvaluationContext context, ObjectSE value) void
CompositeStringExpression.setValue
(EvaluationContext context, ObjectSE rootObject, ObjectSE value) void
void
LiteralExpression.setValue
(EvaluationContext context, ObjectSE value) void
LiteralExpression.setValue
(EvaluationContext context, ObjectSE rootObject, ObjectSE value) org.springframework.expression.spel 内の EvaluationException 使用
修飾子と型メソッド説明ExpressionState.convertValue
(ObjectSE value, TypeDescriptor targetTypeDescriptor) ExpressionState.convertValue
(TypedValue value, TypeDescriptor targetTypeDescriptor) ClassSE<?>
SpelNode.getTypedValue
(ExpressionState expressionState) 指定された式の状態のコンテキストで式ノードを評価し、型付きの値を返します。abstract ObjectSE
CompiledExpression.getValue
(ObjectSE target, EvaluationContext context) SpelCompiler によって生成された CompiledExpression のサブクラスは、このメソッドの実装を提供します。SpelNode.getValue
(ExpressionState expressionState) 指定された式の状態のコンテキストで式ノードを評価し、値を返します。boolean
SpelNode.isWritable
(ExpressionState expressionState) この式ノードが setValue() 呼び出しをサポートするかどうかを決定します。void
SpelNode.setValue
(ExpressionState expressionState, ObjectSE newValue) 式をノードに評価してから、そのノードに新しい値を設定します。org.springframework.expression.spel.ast 内の EvaluationException 使用
修飾子と型メソッド説明final TypedValue
SpelNodeImpl.getTypedValue
(ExpressionState expressionState) final ObjectSE
SpelNodeImpl.getValue
(ExpressionState expressionState) protected final <T> T
SpelNodeImpl.getValue
(ExpressionState state, ClassSE<T> desiredReturnType) Assign.getValueInternal
(ExpressionState state) BeanReference.getValueInternal
(ExpressionState state) CompoundExpression.getValueInternal
(ExpressionState state) 複合式を評価します。ConstructorReference.getValueInternal
(ExpressionState state) getValue() を実装します。配列または単純な型を構築するためのコードに委譲します。Elvis.getValueInternal
(ExpressionState state) 条件を評価し、null でない場合はそれを返します。FunctionReference.getValueInternal
(ExpressionState state) Indexer.getValueInternal
(ExpressionState state) InlineList.getValueInternal
(ExpressionState expressionState) InlineMap.getValueInternal
(ExpressionState expressionState) MethodReference.getValueInternal
(ExpressionState state) OpAnd.getValueInternal
(ExpressionState state) OpDec.getValueInternal
(ExpressionState state) OpDivide.getValueInternal
(ExpressionState state) OpEQ.getValueInternal
(ExpressionState state) OperatorBetween.getValueInternal
(ExpressionState state) 値が表現された範囲内にあるかどうかに基づいてブール値を返します。OperatorInstanceof.getValueInternal
(ExpressionState state) 左のオペランドを比較して、右のオペランドとして指定された型のインスタンスであることを確認します。OperatorMatches.getValueInternal
(ExpressionState state) 最初のオペランドが 2 番目のオペランドとして指定された正規表現と一致することを確認します。OperatorNot.getValueInternal
(ExpressionState state) OperatorPower.getValueInternal
(ExpressionState state) OpGE.getValueInternal
(ExpressionState state) OpGT.getValueInternal
(ExpressionState state) OpInc.getValueInternal
(ExpressionState state) OpLE.getValueInternal
(ExpressionState state) OpLT.getValueInternal
(ExpressionState state) OpMinus.getValueInternal
(ExpressionState state) OpModulus.getValueInternal
(ExpressionState state) OpMultiply.getValueInternal
(ExpressionState state) サポートされている特定の型のオペランドのmultiply
演算子を直接ここに実装します。それ以外の場合、ここでサポートされていない型の登録済みオーバーローダーに委譲します。OpNE.getValueInternal
(ExpressionState state) OpOr.getValueInternal
(ExpressionState state) OpPlus.getValueInternal
(ExpressionState state) Projection.getValueInternal
(ExpressionState state) PropertyOrFieldReference.getValueInternal
(ExpressionState state) QualifiedIdentifier.getValueInternal
(ExpressionState state) Selection.getValueInternal
(ExpressionState state) abstract TypedValue
SpelNodeImpl.getValueInternal
(ExpressionState expressionState) Ternary.getValueInternal
(ExpressionState state) 条件を評価し、真の場合は最初の選択肢を評価し、そうでない場合は 2 番目の選択肢を評価します。TypeReference.getValueInternal
(ExpressionState state) protected ValueRef
CompoundExpression.getValueRef
(ExpressionState state) protected ValueRef
Indexer.getValueRef
(ExpressionState state) protected ValueRef
MethodReference.getValueRef
(ExpressionState state) protected ValueRef
Projection.getValueRef
(ExpressionState state) PropertyOrFieldReference.getValueRef
(ExpressionState state) protected ValueRef
Selection.getValueRef
(ExpressionState state) protected ValueRef
SpelNodeImpl.getValueRef
(ExpressionState state) boolean
CompoundExpression.isWritable
(ExpressionState state) boolean
PropertyOrFieldReference.isWritable
(ExpressionState state) boolean
SpelNodeImpl.isWritable
(ExpressionState expressionState) boolean
PropertyOrFieldReference.isWritableProperty
(StringSE name, TypedValue contextObject, EvaluationContext evalContext) void
SpelNodeImpl.setValue
(ExpressionState expressionState, ObjectSE newValue) CompoundExpression.setValueInternal
(ExpressionState state, SupplierSE<TypedValue> valueSupplier) Indexer.setValueInternal
(ExpressionState state, SupplierSE<TypedValue> valueSupplier) PropertyOrFieldReference.setValueInternal
(ExpressionState state, SupplierSE<TypedValue> valueSupplier) SpelNodeImpl.setValueInternal
(ExpressionState expressionState, SupplierSE<TypedValue> valueSupplier) 式をノードに評価し、指定されたSupplier
SE によって作成された新しい値をそのノードに設定します。VariableReference.setValueInternal
(ExpressionState state, SupplierSE<TypedValue> valueSupplier) org.springframework.expression.spel.standard 内の EvaluationException 使用
修飾子と型メソッド説明SpelExpression.getValue()
<T> T
<T> T
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()
ClassSE<?>
SpelExpression.getValueType
(ObjectSE rootObject) ClassSE<?>
SpelExpression.getValueType
(EvaluationContext context) ClassSE<?>
SpelExpression.getValueType
(EvaluationContext context, ObjectSE rootObject) SpelExpression.getValueTypeDescriptor()
SpelExpression.getValueTypeDescriptor
(ObjectSE rootObject) SpelExpression.getValueTypeDescriptor
(EvaluationContext context) SpelExpression.getValueTypeDescriptor
(EvaluationContext context, ObjectSE rootObject) boolean
SpelExpression.isWritable
(ObjectSE rootObject) boolean
SpelExpression.isWritable
(EvaluationContext context) boolean
SpelExpression.isWritable
(EvaluationContext context, ObjectSE rootObject) void
void
SpelExpression.setValue
(EvaluationContext context, ObjectSE value) void
SpelExpression.setValue
(EvaluationContext context, ObjectSE rootObject, ObjectSE value) org.springframework.expression.spel.support 内の EvaluationException 使用
修飾子と型メソッド説明ClassSE<?>
(修飾されていない可能性がある) 型参照を検索します。まず型名をそのまま使用し、型名が見つからない場合は登録されているインポートプレフィックスを試します。StandardOperatorOverloader.operate
(Operation operation, ObjectSE leftOperand, ObjectSE rightOperand) boolean
StandardOperatorOverloader.overridesOperation
(Operation operation, ObjectSE leftOperand, ObjectSE rightOperand)