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, using the MMBase config path
- Version:
- $Id: XMLEntityResolver.java,v 1.18.2.10 2003/04/10 08:28:50 pierre Exp $
- Author:
- Gerard van Enk, Michiel Meeuwissen
|
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 |
XMLEntityResolver
public XMLEntityResolver()
- empty constructor
XMLEntityResolver
public XMLEntityResolver(boolean v)
XMLEntityResolver
public XMLEntityResolver(boolean v,
java.lang.Class base)
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()
- Returns:
- whether the resolver has determiend a DTD
getDTDPath
public java.lang.String getDTDPath()
- Returns:
- The actually used path to the DTD
MMBase build 1.6.5.20030923