Package org.hibernate.util
Class DTDEntityResolver
java.lang.Object
org.hibernate.util.DTDEntityResolver
- All Implemented Interfaces:
Serializable,EntityResolver
- Direct Known Subclasses:
EJB3DTDEntityResolver
An
EntityResolver implementation which attempts to resolve
various systemId URLs to local classpath lookups- Any systemId URL beginning with http://www.hibernate.org/dtd/ is searched for as a classpath resource in the classloader which loaded the Hibernate classes.
- Any systemId URL using classpath as the scheme (i.e. starting with classpath:// is searched for as a classpath resource using first the current thread context classloader and then the classloader which loaded the Hibernate classes.
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionresolveEntity(String publicId, String systemId) protected InputStreamprotected InputStream
-
Constructor Details
-
DTDEntityResolver
public DTDEntityResolver()
-
-
Method Details
-
resolveEntity
- Specified by:
resolveEntityin interfaceEntityResolver
-
resolveInHibernateNamespace
-
resolveInLocalNamespace
-