org.openejb.alt.config
Class DTDResolver
java.lang.Object
org.openejb.alt.config.DTDResolver
- All Implemented Interfaces:
- EntityResolver
- public class DTDResolver
- extends Object
- implements EntityResolver
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: 1912 $
- Author:
- Aaron Mulder, David Blevins
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
dtds
public static HashMap dtds
DTDResolver
public DTDResolver()
getDtd
public static byte[] getDtd(String dtdName)
resolveEntity
public InputSource resolveEntity(String publicId,
String systemId)
throws SAXException,
IOException
- Specified by:
resolveEntity
in interface EntityResolver
- Throws:
SAXException
IOException
Copyright © 1999-2007 OpenEJB. All Rights Reserved.