org.mmbase.util
Class XMLEntityResolver

java.lang.Object
  |
  +--org.mmbase.util.XMLEntityResolver
All Implemented Interfaces:
org.xml.sax.EntityResolver

public class XMLEntityResolver
extends java.lang.Object
implements org.xml.sax.EntityResolver

Take the systemId and converts it into a local file

Version:
$Revision: 1.10 $ $Date: 2001/07/16 10:08:16 $
Author:
Gerard van Enk

Constructor Summary
XMLEntityResolver()
          empty constructor
 
Method Summary
 java.lang.String getDTDPath()
           
 boolean hasDTD()
           
 org.xml.sax.InputSource resolveEntity(java.lang.String publicId, java.lang.String systemId)
          takes the systemId and returns the local location of the dtd
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

XMLEntityResolver

public XMLEntityResolver()
empty constructor
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
takes the systemId and returns the local location of the dtd
Specified by:
resolveEntity in interface org.xml.sax.EntityResolver

hasDTD

public boolean hasDTD()

getDTDPath

public java.lang.String getDTDPath()
Returns:
The actually used path to the DTD


MMBase 2001