net.sf.genuine.tools
Class ConfigurationEntityResolver

java.lang.Object
  extended bynet.sf.genuine.tools.ConfigurationEntityResolver
All Implemented Interfaces:
org.xml.sax.EntityResolver

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

Implementation of org.xml.sax.EntityResolver that makes it possible to use DTDs in XML files that are not stored in files but processed on the fly.

Author:
Tim Wellhausen
See Also:
EntityResolver

Constructor Summary
ConfigurationEntityResolver()
           
 
Method Summary
 org.xml.sax.InputSource resolveEntity(java.lang.String publicId, java.lang.String systemId)
          Takes a system identifier and returns an input source that reads from the file denoted by the identifier.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ConfigurationEntityResolver

public ConfigurationEntityResolver()
Method Detail

resolveEntity

public org.xml.sax.InputSource resolveEntity(java.lang.String publicId,
                                             java.lang.String systemId)
Takes a system identifier and returns an input source that reads from the file denoted by the identifier.

Specified by:
resolveEntity in interface org.xml.sax.EntityResolver
Parameters:
publicId -
systemId - should of the form "file://xy-configuration.dtd"