public class MappedResolver extends Resolver
In the adapter configuration file this class is aliased as mapped-entity-resolver which is the preferred alternative to the fully qualified classname when building your configuration.
Constructor and Description |
---|
MappedResolver() |
Modifier and Type | Method and Description |
---|---|
KeyValuePairSet |
getMappings() |
protected java.io.InputStream |
retrieveAndCache(URLString url) |
void |
setMappings(KeyValuePairSet kvps)
Set the mappings.
|
debugLog, getAdditionalDebug, getMaxDestinationCacheSize, maxDestinationCacheSize, resolve, resolveEntity, setAdditionalDebug, setMaxDestinationCacheSize
protected java.io.InputStream retrieveAndCache(URLString url) throws java.lang.Exception
retrieveAndCache
in class Resolver
java.lang.Exception
public KeyValuePairSet getMappings()
public void setMappings(KeyValuePairSet kvps)
The key is the "public" URL to match against (e.g. http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd
and the value is
the corresponding URL that you really want to retrieve
kvps
-