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.2 $
- Author:
- Aaron Mulder, David Blevins
Field Summary |
static java.util.HashMap |
dtds
|
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)
|
dtds
public static java.util.HashMap dtds
DTDResolver
public DTDResolver()
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