fi.iki.hsivonen.xml
Class LocalCacheEntityResolver
java.lang.Object
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
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
pathMap
private Map pathMap
delegate
private EntityResolver delegate
allowRnc
private boolean allowRnc
LocalCacheEntityResolver
public LocalCacheEntityResolver(Map pathMap,
EntityResolver delegate)
- Parameters:
pathMap
- delegate
-
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.