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 © 2007, 2009 David Green and others.
All rights reserved. This program and the accompanying materials
are made available under the terms of the Eclipse Public License v1.0
which accompanies this distribution, and is available at
http://www.eclipse.org/legal/epl-v10.html