org.springframework.core.convert.support

## 类 ConvertingPropertyEditorAdapter

- java.lang.Object
- - java.beans.PropertyEditorSupport
  - - org.springframework.core.convert.support.ConvertingPropertyEditorAdapter

- 所有已实现的接口:
    PropertyEditor

      public class ConvertingPropertyEditorAdapter
      extends PropertyEditorSupport

  Adapter that exposes a `PropertyEditor` for any given `ConversionService` and specific target type.
  从以下版本开始:
    3.0
  作者:
    Juergen Hoeller

- - ### 构造器概要

    构造器
    构造器和说明
    `ConvertingPropertyEditorAdapter(ConversionService conversionService, TypeDescriptor targetDescriptor)` Create a new ConvertingPropertyEditorAdapter for a given `ConversionService` and the given target type.

  - ### 方法概要

    所有方法 实例方法 具体方法
    限定符和类型 | 方法和说明
    --- | ---
    `String` | `getAsText()`
    `void` | `setAsText(String text)`

    - ### 从类继承的方法 java.beans.PropertyEditorSupport

      `addPropertyChangeListener, firePropertyChange, getCustomEditor, getJavaInitializationString, getSource, getTags, getValue, isPaintable, paintValue, removePropertyChangeListener, setSource, setValue, supportsCustomEditor`

    - ### 从类继承的方法 java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### 构造器详细资料

    - #### ConvertingPropertyEditorAdapter

          public ConvertingPropertyEditorAdapter(ConversionService conversionService,
                                                 TypeDescriptor targetDescriptor)

      Create a new ConvertingPropertyEditorAdapter for a given `ConversionService` and the given target type.
      参数:
        `conversionService` - the ConversionService to delegate to
        `targetDescriptor` - the target type to convert to

  - ### 方法详细资料

    - #### setAsText

          public void setAsText(@Nullable
                                String text)
                         throws IllegalArgumentException

      指定者:
        `setAsText` 在接口中 `PropertyEditor`
      覆盖:
        `setAsText` 在类中 `PropertyEditorSupport`
      抛出:
        `IllegalArgumentException`

    - #### getAsText

          @Nullable
          public String getAsText()

      指定者:
        `getAsText` 在接口中 `PropertyEditor`
      覆盖:
        `getAsText` 在类中 `PropertyEditorSupport`