Class EmptyXMLResolver
- java.lang.Object
-
- com.github.markusbernhardt.proxy.util.EmptyXMLResolver
-
- All Implemented Interfaces:
EntityResolver
public class EmptyXMLResolver extends Object implements EntityResolver
This resolver is used to prevent network lookups of DTD or XML schemas.- Author:
- Markus Bernhardt, Copyright 2016, Bernd Rosstauscher, Copyright 2009
-
-
Constructor Summary
Constructors Constructor Description EmptyXMLResolver()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description InputSourceresolveEntity(String arg0, String arg1)Overwritten to return an empty entity.
-
-
-
Method Detail
-
resolveEntity
public InputSource resolveEntity(String arg0, String arg1) throws SAXException, IOException
Overwritten to return an empty entity.- Specified by:
resolveEntityin interfaceEntityResolver- Throws:
SAXExceptionIOException- See Also:
EntityResolver.resolveEntity(java.lang.String, java.lang.String)
-
-