修飾子と型 | メソッドと説明 |
---|---|
TypeDescriptor | PropertyAccessor.getPropertyTypeDescriptor(StringSE propertyName) 指定されたプロパティの型記述子を返します。できれば読み取りメソッドから、書き込みメソッドにフォールバックしてください。 |
TypeDescriptor | AbstractNestablePropertyAccessor.getPropertyTypeDescriptor(StringSE propertyName) |
abstract TypeDescriptor | AbstractNestablePropertyAccessor.PropertyHandler.nested(int level) |
abstract TypeDescriptor | AbstractNestablePropertyAccessor.PropertyHandler.toTypeDescriptor() |
修飾子と型 | メソッドと説明 |
---|---|
protected ObjectSE | AbstractNestablePropertyAccessor.convertForProperty(StringSE propertyName, ObjectSE oldValue, ObjectSE newValue, TypeDescriptor td) |
<T> T | TypeConverterSupport.convertIfNecessary(ObjectSE value, ClassSE<T> requiredType, TypeDescriptor typeDescriptor) |
default <T> T | TypeConverter.convertIfNecessary(ObjectSE value, ClassSE<T> requiredType, TypeDescriptor typeDescriptor) 値を必要な型に変換します(必要に応じて、String から)。 |
修飾子と型 | メソッドと説明 |
---|---|
TypeDescriptor | DependencyDescriptor.getTypeDescriptor() ラップされたパラメーター / フィールドの TypeDescriptor オブジェクトを作成します。 |
修飾子と型 | メソッドと説明 |
---|---|
static TypeDescriptor | TypeDescriptor.array(TypeDescriptor elementTypeDescriptor) 指定された型の配列として新しい型記述子を作成します。 |
static TypeDescriptor | TypeDescriptor.collection(ClassSE<?> collectionType, TypeDescriptor elementTypeDescriptor) Collection SE 型から新しい型記述子を作成します。 |
TypeDescriptor | TypeDescriptor.elementTypeDescriptor(ObjectSE element) この型が Collection SE または配列の場合、提供されたコレクションまたは配列要素から要素 TypeDescriptor を作成します。 |
static TypeDescriptor | TypeDescriptor.forObject(ObjectSE source) オブジェクトの新しい型記述子を作成します。 |
TypeDescriptor | TypeDescriptor.getElementTypeDescriptor() この型が配列の場合、配列のコンポーネント型を返します。 |
TypeDescriptor | TypeDescriptor.getMapKeyTypeDescriptor() この型が Map SE であり、そのキー型がパラメーター化されている場合、マップのキー型を返します。 |
TypeDescriptor | TypeDescriptor.getMapKeyTypeDescriptor(ObjectSE mapKey) この型が Map SE の場合、指定されたマップキーから mapKey TypeDescriptor を作成します。 |
TypeDescriptor | TypeDescriptor.getMapValueTypeDescriptor() この型が Map SE であり、その値型がパラメーター化されている場合、マップの値型を返します。 |
TypeDescriptor | TypeDescriptor.getMapValueTypeDescriptor(ObjectSE mapValue) この型が Map SE の場合、指定されたマップ値から mapValue TypeDescriptor を作成します。 |
TypeDescriptor | ConversionFailedException.getSourceType() 値の変換を試みたソース型を返します。 |
TypeDescriptor | ConverterNotFoundException.getSourceType() 変換元としてリクエストされたソース型を返します。 |
TypeDescriptor | ConversionFailedException.getTargetType() 値を変換しようとしたターゲット型を返します。 |
TypeDescriptor | ConverterNotFoundException.getTargetType() 変換をリクエストされたターゲット型を返します。 |
static TypeDescriptor | TypeDescriptor.map(ClassSE<?> mapType, TypeDescriptor keyTypeDescriptor, TypeDescriptor valueTypeDescriptor) Map SE 型から新しい型記述子を作成します。 |
TypeDescriptor | TypeDescriptor.narrow(ObjectSE value) 型を提供された値のクラスに設定することにより、この TypeDescriptor を狭めます。 |
static TypeDescriptor | TypeDescriptor.nested(FieldSE field, int nestingLevel) フィールド内で宣言されたネストされた型の型記述子を作成します。 |
static TypeDescriptor | TypeDescriptor.nested(MethodParameter methodParameter, int nestingLevel) メソッドパラメーター内で宣言されたネストされた型の型記述子を作成します。 |
static TypeDescriptor | TypeDescriptor.nested(Property property, int nestingLevel) プロパティ内で宣言されたネストされた型の型記述子を作成します。 |
TypeDescriptor | TypeDescriptor.upcast(ClassSE<?> superType) この TypeDescriptor を、アノテーションとネストされた型コンテキストを保持するスーパークラスまたは実装されたインターフェースにキャストします。 |
static TypeDescriptor | TypeDescriptor.valueOf(ClassSE<?> type) 指定された型から新しい型記述子を作成します。 |
修飾子と型 | メソッドと説明 |
---|---|
static TypeDescriptor | TypeDescriptor.array(TypeDescriptor elementTypeDescriptor) 指定された型の配列として新しい型記述子を作成します。 |
boolean | ConversionService.canConvert(TypeDescriptor sourceType, TypeDescriptor targetType) sourceType のオブジェクトを targetType に変換できる場合は、true を返します。 |
static TypeDescriptor | TypeDescriptor.collection(ClassSE<?> collectionType, TypeDescriptor elementTypeDescriptor) Collection SE 型から新しい型記述子を作成します。 |
ObjectSE | ConversionService.convert(ObjectSE source, TypeDescriptor sourceType, TypeDescriptor targetType) 指定された source を指定された targetType に変換します。 |
boolean | TypeDescriptor.isAssignableTo(TypeDescriptor typeDescriptor) この型記述子のオブジェクトを、指定された型記述子で記述された場所に割り当てることができる場合は true を返します。 |
static TypeDescriptor | TypeDescriptor.map(ClassSE<?> mapType, TypeDescriptor keyTypeDescriptor, TypeDescriptor valueTypeDescriptor) Map SE 型から新しい型記述子を作成します。 |
コンストラクターと説明 |
---|
ConversionFailedException(TypeDescriptor sourceType, TypeDescriptor targetType, ObjectSE value, ThrowableSE cause) 新しい変換例外を作成します。 |
ConverterNotFoundException(TypeDescriptor sourceType, TypeDescriptor targetType) 例外が見つからない新しい変換実行プログラムを作成します。 |
修飾子と型 | メソッドと説明 |
---|---|
ObjectSE | GenericConverter.convert(ObjectSE source, TypeDescriptor sourceType, TypeDescriptor targetType) ソースオブジェクトを TypeDescriptor で記述された targetType に変換します。 |
boolean | ConditionalConverter.matches(TypeDescriptor sourceType, TypeDescriptor targetType) 現在検討中の sourceType から targetType への変換を選択する必要がありますか? |
修飾子と型 | メソッドと説明 |
---|---|
boolean | GenericConversionService.canBypassConvert(TypeDescriptor sourceType, TypeDescriptor targetType) ソース型とターゲット型間の変換をバイパスできるかどうかを返します。 |
boolean | GenericConversionService.canConvert(TypeDescriptor sourceType, TypeDescriptor targetType) |
ObjectSE | GenericConversionService.convert(ObjectSE source, TypeDescriptor targetType) ソースオブジェクトを指定された targetType に変換するための簡易操作。ここで、ターゲット型は追加の変換コンテキストを提供する記述子です。 |
ObjectSE | GenericConversionService.convert(ObjectSE source, TypeDescriptor sourceType, TypeDescriptor targetType) |
protected ObjectSE | GenericConversionService.convertNullSource(TypeDescriptor sourceType, TypeDescriptor targetType) null ソースを変換するテンプレートメソッド。 |
protected GenericConverter | GenericConversionService.getConverter(TypeDescriptor sourceType, TypeDescriptor targetType) 特定の sourceType/targetType ペアのコンバーターを検索するフックメソッド。 |
protected GenericConverter | GenericConversionService.getDefaultConverter(TypeDescriptor sourceType, TypeDescriptor targetType) 指定された sourceType/targetType ペアのコンバーターが見つからない場合、デフォルトのコンバーターを返します。 |
コンストラクターと説明 |
---|
ConvertingPropertyEditorAdapter(ConversionService conversionService, TypeDescriptor targetDescriptor) 指定された ConversionService および指定されたターゲット型に対して新しい ConvertingPropertyEditorAdapter を作成します。 |
修飾子と型 | メソッドと説明 |
---|---|
TypeDescriptor | TypedValue.getTypeDescriptor() |
TypeDescriptor | Expression.getValueTypeDescriptor() デフォルトのコンテキストを使用して Expression.setValue(java.lang.Object, java.lang.Object) メソッドに渡すことができる最も一般的な型を返します。 |
TypeDescriptor | Expression.getValueTypeDescriptor(EvaluationContext context) 指定されたコンテキストの Expression.setValue(EvaluationContext, Object) メソッドに渡すことができる最も一般的な型を返します。 |
TypeDescriptor | Expression.getValueTypeDescriptor(EvaluationContext context, ObjectSE rootObject) 指定されたコンテキストの Expression.setValue(EvaluationContext, Object, Object) メソッドに渡すことができる最も一般的な型を返します。 |
TypeDescriptor | Expression.getValueTypeDescriptor(ObjectSE rootObject) デフォルトのコンテキストを使用して Expression.setValue(Object, Object) メソッドに渡すことができる最も一般的な型を返します。 |
修飾子と型 | メソッドと説明 |
---|---|
boolean | TypeConverter.canConvert(TypeDescriptor sourceType, TypeDescriptor targetType) 型コンバーターが指定された型を目的のターゲット型に変換できる場合は、 true を返します。 |
ObjectSE | TypeConverter.convertValue(ObjectSE value, TypeDescriptor sourceType, TypeDescriptor targetType) 値をある型から別の型に変換(強制)します。たとえば、 boolean から String に変換します。 |
修飾子と型 | メソッドと説明 |
---|---|
MethodExecutor | MethodResolver.resolve(EvaluationContext context, ObjectSE targetObject, StringSE name, ListSE<TypeDescriptor> argumentTypes) 指定されたコンテキスト内で、指定された引数を処理できる、指定されたオブジェクトの適切なメソッドを決定します。 |
ConstructorExecutor | ConstructorResolver.resolve(EvaluationContext context, StringSE typeName, ListSE<TypeDescriptor> argumentTypes) 指定されたコンテキスト内で、指定された引数を処理できる、指定された型の適切なコンストラクターを決定します。 |
コンストラクターと説明 |
---|
TypedValue(ObjectSE value, TypeDescriptor typeDescriptor) 追加の総称宣言を含む可能性がある特定の TypeDescriptor を使用して、特定の値の TypedValue を作成します。 |
修飾子と型 | メソッドと説明 |
---|---|
TypeDescriptor | CompositeStringExpression.getValueTypeDescriptor() |
TypeDescriptor | LiteralExpression.getValueTypeDescriptor() |
TypeDescriptor | CompositeStringExpression.getValueTypeDescriptor(EvaluationContext context) |
TypeDescriptor | LiteralExpression.getValueTypeDescriptor(EvaluationContext context) |
TypeDescriptor | CompositeStringExpression.getValueTypeDescriptor(EvaluationContext context, ObjectSE rootObject) |
TypeDescriptor | LiteralExpression.getValueTypeDescriptor(EvaluationContext context, ObjectSE rootObject) |
TypeDescriptor | CompositeStringExpression.getValueTypeDescriptor(ObjectSE rootObject) |
TypeDescriptor | LiteralExpression.getValueTypeDescriptor(ObjectSE rootObject) |
修飾子と型 | メソッドと説明 |
---|---|
ObjectSE | ExpressionState.convertValue(ObjectSE value, TypeDescriptor targetTypeDescriptor) |
ObjectSE | ExpressionState.convertValue(TypedValue value, TypeDescriptor targetTypeDescriptor) |
修飾子と型 | メソッドと説明 |
---|---|
TypeDescriptor | SpelExpression.getValueTypeDescriptor() |
TypeDescriptor | SpelExpression.getValueTypeDescriptor(EvaluationContext context) |
TypeDescriptor | SpelExpression.getValueTypeDescriptor(EvaluationContext context, ObjectSE rootObject) |
TypeDescriptor | SpelExpression.getValueTypeDescriptor(ObjectSE rootObject) |
修飾子と型 | メソッドと説明 |
---|---|
boolean | StandardTypeConverter.canConvert(TypeDescriptor sourceType, TypeDescriptor targetType) |
ObjectSE | StandardTypeConverter.convertValue(ObjectSE value, TypeDescriptor sourceType, TypeDescriptor targetType) |
void | StandardEvaluationContext.setRootObject(ObjectSE rootObject, TypeDescriptor typeDescriptor) |
SimpleEvaluationContext.Builder | SimpleEvaluationContext.Builder.withTypedRootObject(ObjectSE rootObject, TypeDescriptor typeDescriptor) 解決する型付きルートオブジェクトを指定します。 |
修飾子と型 | メソッドと説明 |
---|---|
static int | ReflectionHelper.getTypeDifferenceWeight(ListSE<TypeDescriptor> paramTypes, ListSE<TypeDescriptor> argTypes) MethodInvoker.getTypeDifferenceWeight(Class[], Object[]) に基づいていますが、TypeDescriptors で動作します。 |
static int | ReflectionHelper.getTypeDifferenceWeight(ListSE<TypeDescriptor> paramTypes, ListSE<TypeDescriptor> argTypes) MethodInvoker.getTypeDifferenceWeight(Class[], Object[]) に基づいていますが、TypeDescriptors で動作します。 |
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) 型のコンストラクターを見つけます。 |
修飾子と型 | メソッドと説明 |
---|---|
<T> T | DataBinder.convertIfNecessary(ObjectSE value, ClassSE<T> requiredType, TypeDescriptor typeDescriptor) |
修飾子と型 | メソッドと説明 |
---|---|
protected StringSE | RequestParamMethodArgumentResolver.formatUriValue(ConversionService cs, TypeDescriptor sourceType, ObjectSE value) |
修飾子と型 | メソッドと説明 |
---|---|
protected StringSE | PathVariableMethodArgumentResolver.formatUriValue(ConversionService cs, TypeDescriptor sourceType, ObjectSE value) |
修飾子と型 | メソッドと説明 |
---|---|
protected TypeDescriptor | ConvertingEncoderDecoderSupport.getMessageType() WebSocket メッセージ型を返します。 |
protected TypeDescriptor | ConvertingEncoderDecoderSupport.getType() 変換される型を返します。 |