org.hibernate.cfg
Class EJB3DTDEntityResolver

java.lang.Object
  extended by org.hibernate.internal.util.xml.DTDEntityResolver
      extended by org.hibernate.cfg.EJB3DTDEntityResolver
All Implemented Interfaces:
Serializable, EntityResolver

public class EJB3DTDEntityResolver
extends DTDEntityResolver

Resolve JPA xsd files locally Hibernate OGM uses this class, consider this some kind of exposed service at the SPI level

See Also:
Serialized Form

Field Summary
static EntityResolver INSTANCE
           
 
Constructor Summary
EJB3DTDEntityResolver()
           
 
Method Summary
 boolean isResolved()
          Persistence.xml has been resolved locally
 InputSource resolveEntity(String publicId, String systemId)
           
 
Methods inherited from class org.hibernate.internal.util.xml.DTDEntityResolver
resolveInHibernateNamespace, resolveInLocalNamespace
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

INSTANCE

public static final EntityResolver INSTANCE
Constructor Detail

EJB3DTDEntityResolver

public EJB3DTDEntityResolver()
Method Detail

isResolved

public boolean isResolved()
Persistence.xml has been resolved locally

Returns:
true if it has

resolveEntity

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


Copyright © 2001-2012 Red Hat, Inc. All Rights Reserved.