public static class AbstractXmlParser.CachedFileEntityResolver
extends java.lang.Object
implements org.xml.sax.EntityResolver
EntityResolver.
Using a mechanism of cached files in temp dir to improve performance when using the XMLReader.| Modifier and Type | Field and Description |
|---|---|
protected static java.util.Map<java.lang.String,byte[]> |
ENTITY_CACHE
Map with systemId as key and the content of systemId as byte[].
|
| Constructor and Description |
|---|
AbstractXmlParser.CachedFileEntityResolver() |
| Modifier and Type | Method and Description |
|---|---|
org.xml.sax.InputSource |
resolveEntity(java.lang.String publicId,
java.lang.String systemId) |
protected static final java.util.Map<java.lang.String,byte[]> ENTITY_CACHE
public AbstractXmlParser.CachedFileEntityResolver()
public org.xml.sax.InputSource resolveEntity(java.lang.String publicId,
java.lang.String systemId)
throws org.xml.sax.SAXException,
java.io.IOException
resolveEntity in interface org.xml.sax.EntityResolverorg.xml.sax.SAXExceptionjava.io.IOExceptionCopyright © 2005-2012 Apache Software Foundation. All Rights Reserved.