org.eclipse.mylyn.wikitext.core.util
Class IgnoreDtdEntityResolver
java.lang.Object
org.eclipse.mylyn.wikitext.core.util.IgnoreDtdEntityResolver
- All Implemented Interfaces:
- EntityResolver
public class IgnoreDtdEntityResolver
- extends Object
- implements EntityResolver
An entity resolver that resolves all requests for DTD content, thus preventing network access when resolving DTDs.
- Since:
- 1.0
- Author:
- David Green
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
instance
protected static final IgnoreDtdEntityResolver instance
IgnoreDtdEntityResolver
public IgnoreDtdEntityResolver()
getInstance
public static IgnoreDtdEntityResolver getInstance()
resolveEntity
public InputSource resolveEntity(String publicId,
String systemId)
throws SAXException,
IOException
- Specified by:
resolveEntity
in interface EntityResolver
- Throws:
SAXException
IOException
Copyright © 2011 FuseSource, Corp.. All Rights Reserved.