org.springframework.beans.factory.xml

## 类 BeansDtdResolver

- java.lang.Object
- - org.springframework.beans.factory.xml.BeansDtdResolver

- 所有已实现的接口:
    EntityResolver

      public class BeansDtdResolver
      extends Object
      implements EntityResolver

  `EntityResolver` implementation for the Spring beans DTD, to load the DTD from the Spring class path (or JAR file).

  Fetches "spring-beans.dtd" from the class path resource "/org/springframework/beans/factory/xml/spring-beans.dtd", no matter whether specified as some local URL that includes "spring-beans" in the DTD name or as "https://www.springframework.org/dtd/spring-beans-2.0.dtd".

  从以下版本开始:
    04.06.2003
  作者:
    Juergen Hoeller, Colin Sampaleanu
  另请参阅:
    `ResourceEntityResolver`

- - ### 构造器概要

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

  - ### 方法概要

    所有方法 实例方法 具体方法
    限定符和类型 | 方法和说明
    --- | ---
    `InputSource` | `resolveEntity(String publicId, String systemId)`
    `String` | `toString()`

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

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

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

    - #### BeansDtdResolver

          public BeansDtdResolver()

  - ### 方法详细资料

    - #### resolveEntity

          @Nullable
          public InputSource resolveEntity(@Nullable
                                                      String publicId,
                                                      @Nullable
                                                      String systemId)
                                               throws IOException

      指定者:
        `resolveEntity` 在接口中 `EntityResolver`
      抛出:
        `IOException`

    - #### toString

          public String toString()

      覆盖:
        `toString` 在类中 `Object`