Package net.loomchild.segment.util
Class IgnoreDTDEntityResolver
- java.lang.Object
-
- net.loomchild.segment.util.IgnoreDTDEntityResolver
-
- All Implemented Interfaces:
EntityResolver
public class IgnoreDTDEntityResolver extends Object implements EntityResolver
This class is used to ignore XML DTD entities. Without it XML parsing will fail if DTD could not be found in specified location.- Author:
- loomchild
-
-
Constructor Summary
Constructors Constructor Description IgnoreDTDEntityResolver()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description InputSource
resolveEntity(String publicId, String systemId)
-
-
-
Method Detail
-
resolveEntity
public InputSource resolveEntity(String publicId, String systemId) throws SAXException, IOException
- Specified by:
resolveEntity
in interfaceEntityResolver
- Throws:
SAXException
IOException
-
-