Package net.loomchild.segment.util
Class IgnoreDTDEntityResolver
- java.lang.Object
-
- net.loomchild.segment.util.IgnoreDTDEntityResolver
-
- All Implemented Interfaces:
org.xml.sax.EntityResolver
public class IgnoreDTDEntityResolver extends java.lang.Object implements org.xml.sax.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.
-
-
Constructor Summary
Constructors Constructor Description IgnoreDTDEntityResolver()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.xml.sax.InputSource
resolveEntity(java.lang.String publicId, java.lang.String systemId)
-
-
-
Method Detail
-
resolveEntity
public org.xml.sax.InputSource resolveEntity(java.lang.String publicId, java.lang.String systemId) throws org.xml.sax.SAXException, java.io.IOException
- Specified by:
resolveEntity
in interfaceorg.xml.sax.EntityResolver
- Throws:
org.xml.sax.SAXException
java.io.IOException
-
-