public class NullEntityResolver
extends java.lang.Object
implements org.xml.sax.EntityResolver
Useful for preventing XML parsers from going to the internet and downloading DTDs and other resources.
| Constructor and Description |
|---|
NullEntityResolver() |
| 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.IOExceptionCopyright © 2014. All Rights Reserved.