public class PMCBootStrapper
extends org.apache.xml.resolver.helpers.BootstrapResolver
Constructor and Description |
---|
PMCBootStrapper()
Creates a new instance of PMCBootStrapper
|
Modifier and Type | Method and Description |
---|---|
void |
addMapping(String value,
String mapping)
Maps a specific PUBLIC or System ID to the specifed location.
|
InputSource |
resolveEntity(String publicId,
String systemId)
Resolves entity by first checking for any customized mappings, and then
by handing off to the base class.
|
public PMCBootStrapper()
public void addMapping(String value, String mapping)
value
- Public or System Id to mapmapping
- Location of the DTDpublic InputSource resolveEntity(String publicId, String systemId)
resolveEntity
in interface EntityResolver
resolveEntity
in class org.apache.xml.resolver.helpers.BootstrapResolver
publicId
- Public Id to resolvesystemId
- System id to resolve