com.calitha.xml
Class DoNothingEntityResolver
java.lang.Object
com.calitha.xml.DoNothingEntityResolver
- All Implemented Interfaces:
- EntityResolver
public class DoNothingEntityResolver
- extends Object
- implements EntityResolver
The DoNothingEntityResolver class represents a resolver that does absolutely nothing.
Assigning this resolver to a parser prevents it from loading new entities.
- Author:
- Robert van Loenhout
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DoNothingEntityResolver
public DoNothingEntityResolver()
resolveEntity
public InputSource resolveEntity(String publicId,
String systemId)
throws SAXException,
IOException
- Specified by:
resolveEntity in interface EntityResolver
- Throws:
SAXException
IOException