de.mindmatters.faces
Class FacesDtdResolver
java.lang.Object
de.mindmatters.faces.FacesDtdResolver
- All Implemented Interfaces:
- org.xml.sax.EntityResolver
- public final class FacesDtdResolver
- extends java.lang.Object
- implements org.xml.sax.EntityResolver
EntityResolver implementation for the JSF 1.0 and JSF 1.1 DTD, to load the
DTD from the jsf-spring class path (or JAR file).
Fetches "web-facesconfig_1_0.dtd" or "web-facesconfig_1_0.dtd" from the class
path resource "/de/mindmatters/faces/web-facesconfig_1_0.dtd" or
"/de/mindmatters/faces/web-facesconfig_1_1.dtd", no matter whether specified
as some local URL that includes "web-facesconfig" in the DTD name or as
"http://java.sun.com/dtd/web-facesconfig_1_0.dtd" and
"http://java.sun.com/dtd/web-facesconfig_1_1.dtd" respectively.
- 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.
FacesDtdResolver
public FacesDtdResolver()
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