类 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-2.0.dtd" from the class path resource "/org/springframework/beans/factory/xml/spring-beans-2.0.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
public BeansDtdResolver()
方法详细资料
resolveEntity
public InputSource resolveEntity(String publicId, String systemId) throws IOException
- 指定者:
resolveEntity
在接口中EntityResolver
- 抛出:
IOException