info.bliki.wiki.addon.docbook
Class IgnoreDtdEntityResolver
java.lang.Object
info.bliki.wiki.addon.docbook.IgnoreDtdEntityResolver
- All Implemented Interfaces:
- org.xml.sax.EntityResolver
public class IgnoreDtdEntityResolver
- extends java.lang.Object
- implements org.xml.sax.EntityResolver
An entity resolver that resolves all requests for DTD content, thus preventing network access
when resolving DTDs.
Initial source copied from the Textile-J project
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 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
Copyright © 2012 Java Wikipedia API (Bliki engine). All Rights Reserved.