类 DTDEntityResolver
- java.lang.Object
-
- org.hibernate.internal.util.xml.DTDEntityResolver
-
- 所有已实现的接口:
Serializable,EntityResolver
- 直接已知子类:
EJB3DTDEntityResolver
@Deprecated public class DTDEntityResolver extends Object implements EntityResolver, Serializable
已过时。Hibernate now uses StAX for XML processing and the role of this class is served now byLocalXmlResourceResolverAnEntityResolverimplementation which attempts to resolve various systemId URLs to local classpath look ups- 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.
- 作者:
- Markus Meissner, Gavin King, Steve Ebersole, Hardy Ferentschik
- 另请参阅:
- 序列化表格
-
-
构造器概要
构造器 构造器 说明 DTDEntityResolver()已过时。
-
方法概要
所有方法 实例方法 具体方法 已过时的方法 修饰符和类型 方法 说明 InputSourceresolveEntity(String publicId, String systemId)已过时。protected InputStreamresolveInHibernateNamespace(String path)已过时。protected InputStreamresolveInLocalNamespace(String path)已过时。
-
-
-
方法详细资料
-
resolveEntity
public InputSource resolveEntity(String publicId, String systemId)
已过时。- 指定者:
resolveEntity在接口中EntityResolver
-
resolveInHibernateNamespace
protected InputStream resolveInHibernateNamespace(String path)
已过时。
-
resolveInLocalNamespace
protected InputStream resolveInLocalNamespace(String path)
已过时。
-
-