com.xmlmind.whc
Class EntityResolverImpl

java.lang.Object
  extended by com.xmlmind.whc.EntityResolverImpl
All Implemented Interfaces:
org.xml.sax.EntityResolver

public final class EntityResolverImpl
extends java.lang.Object
implements org.xml.sax.EntityResolver

Not part of the public documented API: an entity resolver which substitutes any public XHTML DTD by just the definitions of all HTML character entities (e.g.  ).


Field Summary
static EntityResolverImpl INSTANCE
           
 
Constructor Summary
EntityResolverImpl(org.xml.sax.EntityResolver delegate)
           
 
Method Summary
 org.xml.sax.InputSource resolveEntity(java.lang.String publicId, java.lang.String systemId)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

INSTANCE

public static final EntityResolverImpl INSTANCE
Constructor Detail

EntityResolverImpl

public EntityResolverImpl(org.xml.sax.EntityResolver delegate)
Method Detail

resolveEntity

public org.xml.sax.InputSource resolveEntity(java.lang.String publicId,
                                             java.lang.String systemId)
                                      throws java.io.IOException,
                                             org.xml.sax.SAXException
Specified by:
resolveEntity in interface org.xml.sax.EntityResolver
Throws:
java.io.IOException
org.xml.sax.SAXException