org.compass.core.util
Class DTDEntityResolver

java.lang.Object
  extended by org.compass.core.util.DTDEntityResolver
All Implemented Interfaces:
Serializable, EntityResolver

public class DTDEntityResolver
extends Object
implements EntityResolver, Serializable

See Also:
Serialized Form

Constructor Summary
DTDEntityResolver()
          Default constructor using DTDEntityResolver classloader for resource loading.
DTDEntityResolver(ClassLoader resourceLoader)
          Set the class loader used to load resouces
 
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
 

Constructor Detail

DTDEntityResolver

public DTDEntityResolver()
Default constructor using DTDEntityResolver classloader for resource loading.


DTDEntityResolver

public DTDEntityResolver(ClassLoader resourceLoader)
Set the class loader used to load resouces

Parameters:
resourceLoader - class loader to use
Method Detail

resolveEntity

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


Copyright (c) 2004-2009 The Compass Project.