Class EmptyXMLResolver
- java.lang.Object
-
- com.github.markusbernhardt.proxy.util.EmptyXMLResolver
-
- All Implemented Interfaces:
org.xml.sax.EntityResolver
public class EmptyXMLResolver extends java.lang.Object implements org.xml.sax.EntityResolver
This resolver is used to prevent network lookups of DTD or XML schemas.
-
-
Constructor Summary
Constructors Constructor Description EmptyXMLResolver()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.xml.sax.InputSource
resolveEntity(java.lang.String arg0, java.lang.String arg1)
Overwritten to return an empty entity.
-
-
-
Method Detail
-
resolveEntity
public org.xml.sax.InputSource resolveEntity(java.lang.String arg0, java.lang.String arg1) throws org.xml.sax.SAXException, java.io.IOException
Overwritten to return an empty entity.- Specified by:
resolveEntity
in interfaceorg.xml.sax.EntityResolver
- Throws:
org.xml.sax.SAXException
java.io.IOException
- See Also:
EntityResolver.resolveEntity(java.lang.String, java.lang.String)
-
-