public class BeansDtdResolver extends Object implements EntityResolver
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 "http://www.springframework.org/dtd/spring-beans-2.0.dtd".
ResourceEntityResolver
Constructor and Description |
---|
BeansDtdResolver() |
Modifier and Type | Method and Description |
---|---|
InputSource |
resolveEntity(String publicId,
String systemId) |
String |
toString() |
public InputSource resolveEntity(String publicId, String systemId) throws IOException
resolveEntity
in interface EntityResolver
IOException