org.hibernate.util
Class DTDEntityResolver

java.lang.Object
  extended byorg.hibernate.util.DTDEntityResolver
All Implemented Interfaces:
org.xml.sax.EntityResolver, Serializable

public class DTDEntityResolver
extends Object
implements org.xml.sax.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
 org.xml.sax.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 org.xml.sax.InputSource resolveEntity(String publicId,
                                             String systemId)
Specified by:
resolveEntity in interface org.xml.sax.EntityResolver