XmlSource references.
An XmlSource represents an XML document containing
O/R mapping metadata, either a JPA orm.xml file, or a
Hibernate .hbm.xml file.
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public static XmlSource | |
| public static XmlSource | |
| public static XmlSource | |
| public static XmlSource | |
| public static XmlSource | |
| public static XmlSource | |
| public static void | |
| public static XmlSource | fromResource(String resourceName, ClassLoaderService classLoaderService)
Create an |
| public static XmlSource | |
| public static XmlSource | |
| public static XmlSource |
| XmlSources | back to summary |
|---|---|
| public XmlSources() | |
| fromCacheableFile | back to summary |
|---|---|
| public static XmlSource fromCacheableFile(File file) | |
| fromCacheableFile | back to summary |
|---|---|
| public static XmlSource fromCacheableFile(File file, File cacheableDir) | |
| fromCacheableFile | back to summary |
|---|---|
| public static XmlSource fromCacheableFile(File file, boolean strict) | |
| fromCacheableFile | back to summary |
|---|---|
| public static XmlSource fromCacheableFile(File file, File cacheableDir, boolean strict) | |
| fromDocument | back to summary |
|---|---|
| public static XmlSource fromDocument(Document document) | |
| fromFile | back to summary |
|---|---|
| public static XmlSource fromFile(File file) | |
| fromJar | back to summary |
|---|---|
| public static void fromJar(File jar, Consumer<XmlSource> consumer) Read all
Assumes that any file named
| |
| fromResource | back to summary |
|---|---|
| public static XmlSource fromResource(String resourceName, ClassLoaderService classLoaderService) Create an | |
| fromStream | back to summary |
|---|---|
| public static XmlSource fromStream(InputStreamAccess inputStreamAccess) | |
| fromStream | back to summary |
|---|---|
| public static XmlSource fromStream(InputStream inputStream) | |
| fromUrl | back to summary |
|---|---|
| public static XmlSource fromUrl(URL url) Create an | |