public class LiteralExpression extends ObjectSE implements Expression
コンストラクターと説明 |
---|
LiteralExpression(StringSE literalValue) |
修飾子と型 | メソッドと説明 |
---|---|
StringSE | getExpressionString() この式の作成に使用された元の文字列を返します(変更なし)。 |
StringSE | getValue() この式をデフォルトの標準コンテキストで評価します。 |
<T> T | getValue(ClassSE<T> expectedResultType) デフォルトのコンテキストで式を評価します。 |
StringSE | getValue(EvaluationContext context) 指定されたコンテキストでこの式を評価し、評価の結果を返します。 |
<T> T | getValue(EvaluationContext context, ClassSE<T> expectedResultType) プロパティ、メソッド、型などへの参照を解決できる指定されたコンテキストで式を評価します。 |
StringSE | getValue(EvaluationContext context, ObjectSE rootObject) 指定されたコンテキストでこの式を評価し、評価の結果を返しますが、コンテキストで指定されたデフォルトのルートオブジェクトのオーバーライドとして、指定されたルートコンテキストを使用します。 |
<T> T | getValue(EvaluationContext context, ObjectSE rootObject, ClassSE<T> desiredResultType) プロパティ、メソッド、型などへの参照を解決できる指定されたコンテキストで式を評価します。 |
StringSE | getValue(ObjectSE rootObject) 指定されたルートオブジェクトに対してこの式を評価します。 |
<T> T | getValue(ObjectSE rootObject, ClassSE<T> desiredResultType) 指定されたルートオブジェクトに対して既定のコンテキストで式を評価します。 |
ClassSE<?> | getValueType() デフォルトのコンテキストを使用して Expression.setValue(java.lang.Object, java.lang.Object) メソッドに渡すことができる最も一般的な型を返します。 |
ClassSE<?> | getValueType(EvaluationContext context) 指定されたコンテキストの Expression.setValue(EvaluationContext, Object) メソッドに渡すことができる最も一般的な型を返します。 |
ClassSE<?> | getValueType(EvaluationContext context, ObjectSE rootObject) 指定されたコンテキストの Expression.setValue(EvaluationContext, Object, Object) メソッドに渡すことができる最も一般的な型を返します。 |
ClassSE<?> | getValueType(ObjectSE rootObject) デフォルトのコンテキストを使用して Expression.setValue(Object, Object) メソッドに渡すことができる最も一般的な型を返します。 |
TypeDescriptor | getValueTypeDescriptor() デフォルトのコンテキストを使用して Expression.setValue(java.lang.Object, java.lang.Object) メソッドに渡すことができる最も一般的な型を返します。 |
TypeDescriptor | getValueTypeDescriptor(EvaluationContext context) 指定されたコンテキストの Expression.setValue(EvaluationContext, Object) メソッドに渡すことができる最も一般的な型を返します。 |
TypeDescriptor | getValueTypeDescriptor(EvaluationContext context, ObjectSE rootObject) 指定されたコンテキストの Expression.setValue(EvaluationContext, Object, Object) メソッドに渡すことができる最も一般的な型を返します。 |
TypeDescriptor | getValueTypeDescriptor(ObjectSE rootObject) デフォルトのコンテキストを使用して Expression.setValue(Object, Object) メソッドに渡すことができる最も一般的な型を返します。 |
boolean | isWritable(EvaluationContext context) 式を書き込むことができるかどうかを決定します。 |
boolean | isWritable(EvaluationContext context, ObjectSE rootObject) 式を書き込むことができるかどうかを決定します。 |
boolean | isWritable(ObjectSE rootObject) 式を書き込むことができるかどうかを決定します。 |
void | setValue(EvaluationContext context, ObjectSE value) 提供されたコンテキストでこの式を提供された値に設定します。 |
void | setValue(EvaluationContext context, ObjectSE rootObject, ObjectSE value) 提供されたコンテキストでこの式を提供された値に設定します。 |
void | setValue(ObjectSE rootObject, ObjectSE value) 提供されたコンテキストでこの式を提供された値に設定します。 |
cloneSE, equalsSE, finalizeSE, getClassSE, hashCodeSE, notifySE, notifyAllSE, toStringSE, waitSE, waitSE, waitSE
public LiteralExpression(StringSE literalValue)
public final StringSE getExpressionString()
Expression
Expression
の getExpressionString
public ClassSE<?> getValueType(EvaluationContext context)
Expression
Expression.setValue(EvaluationContext, Object)
メソッドに渡すことができる最も一般的な型を返します。Expression
の getValueType
context
- 式を評価するコンテキスト public StringSE getValue()
Expression
Expression
の getValue
@Nullable public <T> T getValue(@Nullable ClassSE<T> expectedResultType) throws EvaluationException
Expression
Expression
の getValue
expectedResultType
- 呼び出し元が結果を望むクラス EvaluationException
- 評価中に問題が発生した場合 public StringSE getValue(@Nullable ObjectSE rootObject)
Expression
Expression
の getValue
rootObject
- 式を評価する対象となるルートオブジェクト @Nullable public <T> T getValue(@Nullable ObjectSE rootObject, @Nullable ClassSE<T> desiredResultType) throws EvaluationException
Expression
Expression
の getValue
rootObject
- 式を評価する対象となるルートオブジェクト desiredResultType
- 呼び出し元が結果を望むクラス EvaluationException
- 評価中に問題が発生した場合 public StringSE getValue(EvaluationContext context)
Expression
Expression
の getValue
context
- 式を評価するコンテキスト @Nullable public <T> T getValue(EvaluationContext context, @Nullable ClassSE<T> expectedResultType) throws EvaluationException
Expression
Expression
の getValue
context
- 式を評価するコンテキスト expectedResultType
- 呼び出し元が結果を望むクラス EvaluationException
- 評価中に問題が発生した場合 public StringSE getValue(EvaluationContext context, @Nullable ObjectSE rootObject) throws EvaluationException
Expression
Expression
の getValue
context
- 式を評価するコンテキスト rootObject
- 式を評価する対象となるルートオブジェクト EvaluationException
- 評価中に問題が発生した場合 @Nullable public <T> T getValue(EvaluationContext context, @Nullable ObjectSE rootObject, @Nullable ClassSE<T> desiredResultType) throws EvaluationException
Expression
Expression
の getValue
context
- 式を評価するコンテキスト rootObject
- 式を評価する対象となるルートオブジェクト desiredResultType
- 呼び出し元が結果を望むクラス EvaluationException
- 評価中に問題が発生した場合 public ClassSE<?> getValueType()
Expression
Expression.setValue(java.lang.Object, java.lang.Object)
メソッドに渡すことができる最も一般的な型を返します。Expression
の getValueType
public ClassSE<?> getValueType(@Nullable ObjectSE rootObject) throws EvaluationException
Expression
Expression.setValue(Object, Object)
メソッドに渡すことができる最も一般的な型を返します。Expression
の getValueType
rootObject
- 式を評価する対象となるルートオブジェクト EvaluationException
- 型の判別に問題がある場合 public ClassSE<?> getValueType(EvaluationContext context, @Nullable ObjectSE rootObject) throws EvaluationException
Expression
Expression.setValue(EvaluationContext, Object, Object)
メソッドに渡すことができる最も一般的な型を返します。提供されたルートオブジェクトは、コンテキストで指定されたものをオーバーライドします。Expression
の getValueType
context
- 式を評価するコンテキスト rootObject
- 式を評価する対象となるルートオブジェクト EvaluationException
- 型の判別に問題がある場合 public TypeDescriptor getValueTypeDescriptor()
Expression
Expression.setValue(java.lang.Object, java.lang.Object)
メソッドに渡すことができる最も一般的な型を返します。Expression
の getValueTypeDescriptor
public TypeDescriptor getValueTypeDescriptor(@Nullable ObjectSE rootObject) throws EvaluationException
Expression
Expression.setValue(Object, Object)
メソッドに渡すことができる最も一般的な型を返します。Expression
の getValueTypeDescriptor
rootObject
- 式を評価する対象となるルートオブジェクト EvaluationException
- 型の判別に問題がある場合 public TypeDescriptor getValueTypeDescriptor(EvaluationContext context)
Expression
Expression.setValue(EvaluationContext, Object)
メソッドに渡すことができる最も一般的な型を返します。Expression
の getValueTypeDescriptor
context
- 式を評価するコンテキスト public TypeDescriptor getValueTypeDescriptor(EvaluationContext context, @Nullable ObjectSE rootObject) throws EvaluationException
Expression
Expression.setValue(EvaluationContext, Object, Object)
メソッドに渡すことができる最も一般的な型を返します。提供されたルートオブジェクトは、コンテキストで指定されたものをオーバーライドします。Expression
の getValueTypeDescriptor
context
- 式を評価するコンテキスト rootObject
- 式を評価する対象となるルートオブジェクト EvaluationException
- 型の判別に問題がある場合 public boolean isWritable(@Nullable ObjectSE rootObject) throws EvaluationException
Expression
Expression
の isWritable
rootObject
- 式を評価する対象となるルートオブジェクト true
(式が書き込み可能な場合)。それ以外の場合は false
EvaluationException
- 書き込み可能かどうかを決定する問題がある場合 public boolean isWritable(EvaluationContext context)
Expression
Expression
の isWritable
context
- 式がチェックされるコンテキスト true
(式が書き込み可能な場合)。それ以外の場合は false
public boolean isWritable(EvaluationContext context, @Nullable ObjectSE rootObject) throws EvaluationException
Expression
Expression
の isWritable
context
- 式がチェックされるコンテキスト rootObject
- 式を評価する対象となるルートオブジェクト true
(式が書き込み可能な場合)。それ以外の場合は false
EvaluationException
- 書き込み可能かどうかを決定する問題がある場合 public void setValue(@Nullable ObjectSE rootObject, @Nullable ObjectSE value) throws EvaluationException
Expression
Expression
の setValue
rootObject
- 式を評価する対象となるルートオブジェクト value
- 新しい価値 EvaluationException
- 評価中に問題が発生した場合 public void setValue(EvaluationContext context, @Nullable ObjectSE value) throws EvaluationException
Expression
Expression
の setValue
context
- 式の値を設定するコンテキスト value
- 新しい価値 EvaluationException
- 評価中に問題が発生した場合 public void setValue(EvaluationContext context, @Nullable ObjectSE rootObject, @Nullable ObjectSE value) throws EvaluationException
Expression
Expression
の setValue
context
- 式の値を設定するコンテキスト rootObject
- 式を評価する対象となるルートオブジェクト value
- 新しい価値 EvaluationException
- 評価中に問題が発生した場合