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 XsdDescriptorcfgXsd()static XsdDescriptorgetJPA10()static XsdDescriptorgetJPA20()static XsdDescriptorgetJPA21()static XsdDescriptorgetJPA22()static XsdDescriptorgetJPA30()static XsdDescriptorgetJPA31()XsdDescriptorjpaXsd(String version)XsdDescriptorlatestJpaDescriptor()static booleanshouldBeMappedToLatestJpaDescriptor(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()
-
-