Package org.hibernate.cfg
Class EJB3DTDEntityResolver
- java.lang.Object
-
- org.hibernate.internal.util.xml.DTDEntityResolver
-
- org.hibernate.cfg.EJB3DTDEntityResolver
-
- All Implemented Interfaces:
java.io.Serializable
,org.xml.sax.EntityResolver
public class EJB3DTDEntityResolver extends org.hibernate.internal.util.xml.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
Fields Modifier and Type Field Description static org.xml.sax.EntityResolver
INSTANCE
-
Constructor Summary
Constructors Constructor Description EJB3DTDEntityResolver()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
isResolved()
Persistence.xml has been resolved locallyorg.xml.sax.InputSource
resolveEntity(java.lang.String publicId, java.lang.String systemId)
-
-
-
Method Detail
-
isResolved
public boolean isResolved()
Persistence.xml has been resolved locally- Returns:
- true if it has
-
resolveEntity
public org.xml.sax.InputSource resolveEntity(java.lang.String publicId, java.lang.String systemId)
- Specified by:
resolveEntity
in interfaceorg.xml.sax.EntityResolver
- Overrides:
resolveEntity
in classorg.hibernate.internal.util.xml.DTDEntityResolver
-
-