spring-framework / org.springframework.beans.factory.xml / BeansDtdResolver

BeansDtdResolver

open class BeansDtdResolver : 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 "http://www.springframework.org/dtd/spring-beans-2.0.dtd".

Author
Juergen Hoeller

Author
Colin Sampaleanu

Since
04.06.2003

See Also
ResourceEntityResolver

Constructors

<init>

BeansDtdResolver()

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 "http://www.springframework.org/dtd/spring-beans-2.0.dtd".

Functions

resolveEntity

open fun resolveEntity(publicId: String, systemId: String): InputSource

toString

open fun toString(): String