org.openejb.alt.config
Class DTDResolver

org.openejb.alt.config.DTDResolver

public class DTDResolver

Loads DTDs from disk so you don't have to hit the web to validate configuration files. This class will fail silently if the files aren't available locally, and you'll end up hitting the web anyway.

Version:
$Revision: 1.1 $
Author:
Aaron Mulder, David Blevins

Field Summary
static java.util.HashMap dtds
           
 
Constructor Summary
DTDResolver()
           
 
Method Summary
(package private) static void ()
           
static byte[] getDtd(java.lang.String dtdName)
           
 org.xml.sax.InputSource resolveEntity(java.lang.String publicId, java.lang.String systemId)
           
 

Field Detail

dtds

public static java.util.HashMap dtds
Constructor Detail

DTDResolver

public DTDResolver()
Method Detail

static void ()

getDtd

public static byte[] getDtd(java.lang.String dtdName)

resolveEntity

public org.xml.sax.InputSource resolveEntity(java.lang.String publicId,
                                             java.lang.String systemId)
                                      throws org.xml.sax.SAXException,
                                             java.io.IOException


Copyright © 2002 OpenEJB Group. All Rights Reserved. http://openejb.sourceforge.net