org.springframework.beans.factory.xml
Class BeansDtdResolver
java.lang.Object
org.springframework.beans.factory.xml.BeansDtdResolver
- All Implemented Interfaces:
- EntityResolver
- Direct Known Subclasses:
- ResourceEntityResolver
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.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.dtd".
- Since:
- 04.06.2003
- Author:
- Juergen Hoeller
- See Also:
ResourceEntityResolver
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
logger
protected final Log logger
BeansDtdResolver
public BeansDtdResolver()
resolveEntity
public InputSource resolveEntity(String publicId,
String systemId)
throws IOException
- Specified by:
resolveEntity
in interface EntityResolver
- Throws:
IOException
Copyright (c) 2002-2007 The Spring Framework Project.