org.springframework.beans.factory.xml
Class BeansDtdResolver
java.lang.Object
org.springframework.beans.factory.xml.BeansDtdResolver
- All Implemented Interfaces:
- org.xml.sax.EntityResolver
- Direct Known Subclasses:
- ResourceEntityResolver
- public class BeansDtdResolver
- extends java.lang.Object
- implements org.xml.sax.EntityResolver
EntityResolver implementation for the Spring beans DTD,
to load the DTD from the Spring classpath resp. JAR file.
Fetches "spring-beans.dtd" from the classpath resource
"/org/springframework/beans/factory/xml/spring-beans.dtd",
no matter if specified as some local URL or as
"http://www.springframework.org/dtd/spring-beans.dtd".
- Since:
- 04.06.2003
- Author:
- Juergen Hoeller
Field Summary |
protected org.apache.commons.logging.Log |
logger
|
Method Summary |
org.xml.sax.InputSource |
resolveEntity(java.lang.String publicId,
java.lang.String systemId)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
logger
protected final org.apache.commons.logging.Log logger
BeansDtdResolver
public BeansDtdResolver()
resolveEntity
public org.xml.sax.InputSource resolveEntity(java.lang.String publicId,
java.lang.String systemId)
throws java.io.IOException
- Specified by:
resolveEntity
in interface org.xml.sax.EntityResolver
- Throws:
java.io.IOException
Copyright (C) 2003-2004 The Spring Framework Project.