fi.iki.hsivonen.xml
Class LocalCacheEntityResolver

java.lang.Object
  extended by fi.iki.hsivonen.xml.LocalCacheEntityResolver
All Implemented Interfaces:
EntityResolver

public class LocalCacheEntityResolver
extends Object
implements EntityResolver

Version:
$Id: LocalCacheEntityResolver.java,v 1.4 2006/11/14 22:32:44 hsivonen Exp $
Author:
hsivonen

Field Summary
private  boolean allowRnc
           
private  EntityResolver delegate
           
private  Map pathMap
           
 
Constructor Summary
LocalCacheEntityResolver(Map pathMap, EntityResolver delegate)
           
 
Method Summary
 boolean isAllowRnc()
           
 InputSource resolveEntity(String publicId, String systemId)
           
 void setAllowRnc(boolean allowRnc)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

pathMap

private Map pathMap

delegate

private EntityResolver delegate

allowRnc

private boolean allowRnc
Constructor Detail

LocalCacheEntityResolver

public LocalCacheEntityResolver(Map pathMap,
                                EntityResolver delegate)
Parameters:
pathMap -
delegate -
Method Detail

resolveEntity

public InputSource resolveEntity(String publicId,
                                 String systemId)
                          throws SAXException,
                                 IOException
Specified by:
resolveEntity in interface EntityResolver
Throws:
SAXException
IOException
See Also:
EntityResolver.resolveEntity(java.lang.String, java.lang.String)

isAllowRnc

public boolean isAllowRnc()
Returns:
Returns the allowRnc.

setAllowRnc

public void setAllowRnc(boolean allowRnc)
Parameters:
allowRnc - The allowRnc to set.