de.mindmatters.faces.spring.context.support
Class ScopedBeansDtdResolver
java.lang.Object
de.mindmatters.faces.spring.context.support.ScopedBeansDtdResolver
- All Implemented Interfaces:
- org.xml.sax.EntityResolver
- public final class ScopedBeansDtdResolver
- extends java.lang.Object
- implements org.xml.sax.EntityResolver
EntityResolver implementation for the jsf-spring beans DTD, to load the DTD
from the jsf-spring class path (or JAR file).
Fetches "jsf-spring-beans.dtd" from the class path resource
"/de/mindmatters/faces/spring/context/support/jsf-spring-beans.dtd", no
matter whether specified as some local URL that includes "jsf-spring-beans"
in the DTD name or as
"http://jsf-spring.sourceforge.net/dtd/jsf-spring-beans.dtd".
- Author:
- Andreas Kuhrwahl
Field Summary |
protected org.apache.commons.logging.Log |
logger
For logging. |
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
- For logging.
ScopedBeansDtdResolver
public ScopedBeansDtdResolver()
resolveEntity
public org.xml.sax.InputSource resolveEntity(java.lang.String publicId,
java.lang.String systemId)
throws org.xml.sax.SAXException,
java.io.IOException
-
- Specified by:
resolveEntity
in interface org.xml.sax.EntityResolver
- Throws:
org.xml.sax.SAXException
java.io.IOException
Copyright © 2002 mindmatters GmbH & Co. KG