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
Modifier and Type | Field and Description |
---|---|
private static java.lang.String |
DTD_EXTENSION |
private static java.lang.String |
DTD_NAME |
private static Log |
logger |
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() |
private static final java.lang.String DTD_EXTENSION
private static final java.lang.String DTD_NAME
private static final Log logger
public org.xml.sax.InputSource resolveEntity(java.lang.String publicId, 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