com.highdeal.hci
Class EntityUnresolver
java.lang.Object
com.highdeal.hci.EntityUnresolver
- All Implemented Interfaces:
- org.xml.sax.EntityResolver
public class EntityUnresolver
- extends java.lang.Object
- implements org.xml.sax.EntityResolver
This entity resolver prevents the resolution of external/internal entities.
If an entity has to be resolved, this resolver throws a ForbiddenEntityResolutionException.
|
Method Summary |
org.xml.sax.InputSource |
resolveEntity(java.lang.String publicId,
java.lang.String systemId)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
INSTANCE
public static final EntityUnresolver INSTANCE
- An instance of Entity Unresolver which is thread safe.
EntityUnresolver
public EntityUnresolver()
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 interface org.xml.sax.EntityResolver
- Throws:
org.xml.sax.SAXException
java.io.IOException