org.codehaus.activemq.jca.impl
Class JCADtdResolver

java.lang.Object
  extended byorg.codehaus.activemq.jca.impl.JCADtdResolver
All Implemented Interfaces:
EntityResolver

public class JCADtdResolver
extends Object
implements EntityResolver

EntityResolver implementation for the MDO DTD, to load the DTD from the MDO classpath JAR file.

Fetches "mdo.dtd" from the classpath resource "/org/codehaus/activemq/mdo/mdo.dtd", no matter if specified as some local URL or as "http://activemq.codehaus.org/dtd/mdo.dtd".

Version:
$Revision: 1.1 $

Field Summary
protected  Log logger
           
 
Constructor Summary
JCADtdResolver()
           
 
Method Summary
 InputSource resolveEntity(String publicId, String systemId)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

logger

protected final Log logger
Constructor Detail

JCADtdResolver

public JCADtdResolver()
Method Detail

resolveEntity

public InputSource resolveEntity(String publicId,
                                 String systemId)
                          throws IOException
Specified by:
resolveEntity in interface EntityResolver
Throws:
IOException


Copyright © 2004-2005 Protique, Ltd.. All Rights Reserved.