public class BeansDtdResolver
extends java.lang.Object
implements org.xml.sax.EntityResolver
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".
ResourceEntityResolver
Constructor and Description |
---|
BeansDtdResolver() |
Modifier and Type | Method and Description |
---|---|
org.xml.sax.InputSource |
resolveEntity(java.lang.String publicId,
java.lang.String systemId) |
java.lang.String |
toString() |
@Nullable public org.xml.sax.InputSource resolveEntity(java.lang.String publicId, @Nullable java.lang.String systemId) throws java.io.IOException
resolveEntity
in interface org.xml.sax.EntityResolver
java.io.IOException
public java.lang.String toString()
toString
in class java.lang.Object