org.springframework.context.support

## 类 EmbeddedValueResolutionSupport

- java.lang.Object
- - org.springframework.context.support.EmbeddedValueResolutionSupport

- 所有已实现的接口:
    org.springframework.beans.factory.Aware, EmbeddedValueResolverAware
  直接已知子类:
    DateTimeFormatAnnotationFormatterFactory, JodaDateTimeFormatAnnotationFormatterFactory, Jsr310DateTimeFormatAnnotationFormatterFactory, Jsr354NumberFormatAnnotationFormatterFactory, NumberFormatAnnotationFormatterFactory

      public class EmbeddedValueResolutionSupport
      extends Object
      implements EmbeddedValueResolverAware

  Convenient base class for components with a need for embedded value resolution (i.e. `EmbeddedValueResolverAware` consumers).
  从以下版本开始:
    4.1
  作者:
    Juergen Hoeller

- - ### 构造器概要

    构造器
    构造器和说明
    `EmbeddedValueResolutionSupport()`

  - ### 方法概要

    所有方法 实例方法 具体方法
    限定符和类型 | 方法和说明
    --- | ---
    `protected String` | `resolveEmbeddedValue(String value)` Resolve the given embedded value through this instance's `StringValueResolver`.
    `void` | `setEmbeddedValueResolver(org.springframework.util.StringValueResolver resolver)` Set the StringValueResolver to use for resolving embedded definition values.

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

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

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

    - #### EmbeddedValueResolutionSupport

          public EmbeddedValueResolutionSupport()

  - ### 方法详细资料

    - #### setEmbeddedValueResolver

          public void setEmbeddedValueResolver(org.springframework.util.StringValueResolver resolver)

      从接口复制的说明: `EmbeddedValueResolverAware`
      Set the StringValueResolver to use for resolving embedded definition values.
      指定者:
        `setEmbeddedValueResolver` 在接口中 `EmbeddedValueResolverAware`

    - #### resolveEmbeddedValue

          @Nullable
          protected String resolveEmbeddedValue(String value)

      Resolve the given embedded value through this instance's `StringValueResolver`.
      参数:
        `value` - the value to resolve
      返回:
        the resolved value, or always the original value if no resolver is available
      另请参阅:
        `setEmbeddedValueResolver(org.springframework.util.StringValueResolver)`