SourceForge.net Logo

de.mindmatters.faces.spring.context.support
Class ScopedBeansDtdResolver

java.lang.Object
  extended byde.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.
 
Constructor Summary
ScopedBeansDtdResolver()
           
 
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
 

Field Detail

logger

protected final org.apache.commons.logging.Log logger
For logging.

Constructor Detail

ScopedBeansDtdResolver

public ScopedBeansDtdResolver()
Method Detail

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

SourceForge.net Logo

Copyright © 2002 mindmatters GmbH & Co. KG