info.magnolia.cms.util
Class ConfigUtil.MapDTDEntityResolver

java.lang.Object
  extended by info.magnolia.cms.util.ConfigUtil.MapDTDEntityResolver
All Implemented Interfaces:
org.xml.sax.EntityResolver
Enclosing class:
ConfigUtil

public static final class ConfigUtil.MapDTDEntityResolver
extends java.lang.Object
implements org.xml.sax.EntityResolver

EntityResolver using a Map to resources.

Version:
$Id: ConfigUtil.java 41137 2011-01-06 18:19:25Z gjoseph $

Constructor Summary
ConfigUtil.MapDTDEntityResolver(java.util.Map<java.lang.String,java.lang.String> dtds)
           
 
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
 

Constructor Detail

ConfigUtil.MapDTDEntityResolver

public ConfigUtil.MapDTDEntityResolver(java.util.Map<java.lang.String,java.lang.String> dtds)
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


Copyright © 2003-2011 Magnolia International Ltd.. All Rights Reserved.