Package org.frankframework.xml
Class NonResolvingExternalEntityResolver
java.lang.Object
org.frankframework.xml.NonResolvingExternalEntityResolver
- All Implemented Interfaces:
EntityResolver
,EntityResolver2
Entity resolver which resolves external entities to an empty string. This
will prevent the XML parser from downloading resources as specified by URI's
in a DOCTYPE.
- Author:
- Jaco de Groot
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiongetExternalSubset
(String name, String baseURI) resolveEntity
(String publicId, String systemId) resolveEntity
(String name, String publicId, String baseURI, String systemId)
-
Constructor Details
-
NonResolvingExternalEntityResolver
public NonResolvingExternalEntityResolver()
-
-
Method Details
-
resolveEntity
- Specified by:
resolveEntity
in interfaceEntityResolver
- Throws:
SAXException
IOException
-
getExternalSubset
- Specified by:
getExternalSubset
in interfaceEntityResolver2
- Throws:
SAXException
IOException
-
resolveEntity
public InputSource resolveEntity(String name, String publicId, String baseURI, String systemId) throws SAXException, IOException - Specified by:
resolveEntity
in interfaceEntityResolver2
- Throws:
SAXException
IOException
-