Package org.hibernate.boot.xsd
Class ConfigXsdSupport
- java.lang.Object
-
- org.hibernate.boot.xsd.ConfigXsdSupport
-
@Internal public class ConfigXsdSupport extends Object
Support for XSD handling related to Hibernate's `cfg.xml` and JPA's `persistence.xml`. The implementation attempts to not load XsdDescriptor instances which are not necessary and favours memory efficiency over CPU efficiency, as this is expected to be used only during bootstrap.
-
-
Constructor Summary
Constructors Constructor Description ConfigXsdSupport()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static XsdDescriptor
cfgXsd()
static XsdDescriptor
getJPA10()
static XsdDescriptor
getJPA20()
static XsdDescriptor
getJPA21()
static XsdDescriptor
getJPA22()
static XsdDescriptor
getJPA30()
static XsdDescriptor
getJPA31()
XsdDescriptor
jpaXsd(String version)
XsdDescriptor
latestJpaDescriptor()
static boolean
shouldBeMappedToLatestJpaDescriptor(String uri)
-
-
-
Method Detail
-
latestJpaDescriptor
public XsdDescriptor latestJpaDescriptor()
-
shouldBeMappedToLatestJpaDescriptor
public static boolean shouldBeMappedToLatestJpaDescriptor(String uri)
-
jpaXsd
public XsdDescriptor jpaXsd(String version)
-
cfgXsd
public static XsdDescriptor cfgXsd()
-
getJPA10
public static XsdDescriptor getJPA10()
-
getJPA20
public static XsdDescriptor getJPA20()
-
getJPA21
public static XsdDescriptor getJPA21()
-
getJPA22
public static XsdDescriptor getJPA22()
-
getJPA30
public static XsdDescriptor getJPA30()
-
getJPA31
public static XsdDescriptor getJPA31()
-
-