public final class IgnoringEntityResolver
extends java.lang.Object
implements org.xml.sax.EntityResolver
EntityResolver that resolves all declared entities to nothing.
This can be useful if you do not have access to the referenced DTDs.| Constructor and Description |
|---|
IgnoringEntityResolver() |
| Modifier and Type | Method and Description |
|---|---|
org.xml.sax.InputSource |
resolveEntity(java.lang.String publicId,
java.lang.String systemId) |
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