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 XsdDescriptorbuildXsdDescriptor(String resourceName, String version, String namespaceUri)static booleanisValidJpaVersion(String version)static StringlatestJpaVerison()static SchemaresolveLocalXsdSchema(String schemaResourceName)static URLresolveLocalXsdUrl(String resourceName)
-