Package org.hibernate.boot.xsd
Class LocalXsdResolver
- java.lang.Object
-
- org.hibernate.boot.xsd.LocalXsdResolver
-
public class LocalXsdResolver extends Object
When Hibernate loads an XSD we fully expect that to be resolved from our jar file via ClassLoader resource look-up. This class simplifies the steps needed to achieve those goals explicitly using its own ClassLoader for the look-ups.
-
-
Constructor Summary
Constructors Constructor Description LocalXsdResolver()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static XsdDescriptor
buildXsdDescriptor(String resourceName, String version, String namespaceUri)
static boolean
isValidJpaVersion(String version)
static String
latestJpaVerison()
static Schema
resolveLocalXsdSchema(String schemaResourceName)
static URL
resolveLocalXsdUrl(String resourceName)
-