org.directwebremoting.impl
Class DTDEntityResolver

java.lang.Object
  extended by org.directwebremoting.impl.DTDEntityResolver
All Implemented Interfaces:
org.xml.sax.EntityResolver

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

We want to read the config files in validating mode, and keep the DTD within the dwr.jar file so we need to be able to help the parser find the DTD.

Author:
Joe Walker [joe at getahead dot ltd dot uk]

Constructor Summary
DTDEntityResolver()
           
 
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
 

Constructor Detail

DTDEntityResolver

public DTDEntityResolver()
Method Detail

resolveEntity

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

Copyright 2008