public class EntityUnresolver
extends java.lang.Object
implements org.xml.sax.EntityResolver
If an entity has to be resolved, this resolver throws a ForbiddenEntityResolutionException.
| Modifier and Type | Class and Description |
|---|---|
static class |
EntityUnresolver.ForbiddenEntityResolutionException
Exception thrown when an entity resolution is requested.
|
| Modifier and Type | Field and Description |
|---|---|
static EntityUnresolver |
INSTANCE
An instance of Entity Unresolver which is thread safe.
|
| Constructor and Description |
|---|
EntityUnresolver() |
| Modifier and Type | Method and Description |
|---|---|
org.xml.sax.InputSource |
resolveEntity(java.lang.String publicId,
java.lang.String systemId) |
public static final EntityUnresolver INSTANCE
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.IOException