public class LocalXmlResourceResolver extends Object implements XMLResolver
Modifier and Type | Class and Description |
---|---|
static class |
LocalXmlResourceResolver.DtdMapping |
static class |
LocalXmlResourceResolver.NamespaceSchemaMapping |
Modifier and Type | Field and Description |
---|---|
static LocalXmlResourceResolver.DtdMapping |
CFG_DTD_MAPPING |
static LocalXmlResourceResolver.NamespaceSchemaMapping |
CFG_XSD_MAPPING |
static String |
CLASSPATH_EXTENSION_URL_BASE |
static LocalXmlResourceResolver.DtdMapping |
HBM_DTD_MAPPING |
static LocalXmlResourceResolver.NamespaceSchemaMapping |
HBM_XSD_MAPPING |
static LocalXmlResourceResolver.NamespaceSchemaMapping |
HBM_XSD_MAPPING2 |
static LocalXmlResourceResolver.NamespaceSchemaMapping |
INITIAL_JPA_XSD_MAPPING
Maps the namespace for the orm.xml xsd for jpa 1.0 and 2.0
|
static LocalXmlResourceResolver.NamespaceSchemaMapping |
JPA_XSD_MAPPING
Maps the namespace for the orm.xml xsd for jpa 2.1+
|
static LocalXmlResourceResolver.DtdMapping |
LEGACY_CFG_DTD_MAPPING |
static LocalXmlResourceResolver.DtdMapping |
LEGACY_HBM_DTD_MAPPING |
static LocalXmlResourceResolver.DtdMapping |
LEGACY2_HBM_DTD_MAPPING |
Constructor and Description |
---|
LocalXmlResourceResolver(ClassLoaderService classLoaderService) |
Modifier and Type | Method and Description |
---|---|
Object |
resolveEntity(String publicID,
String systemID,
String baseURI,
String namespace) |
public static final String CLASSPATH_EXTENSION_URL_BASE
public static final LocalXmlResourceResolver.NamespaceSchemaMapping INITIAL_JPA_XSD_MAPPING
public static final LocalXmlResourceResolver.NamespaceSchemaMapping JPA_XSD_MAPPING
public static final LocalXmlResourceResolver.NamespaceSchemaMapping HBM_XSD_MAPPING
public static final LocalXmlResourceResolver.NamespaceSchemaMapping HBM_XSD_MAPPING2
public static final LocalXmlResourceResolver.NamespaceSchemaMapping CFG_XSD_MAPPING
public static final LocalXmlResourceResolver.DtdMapping HBM_DTD_MAPPING
public static final LocalXmlResourceResolver.DtdMapping LEGACY_HBM_DTD_MAPPING
public static final LocalXmlResourceResolver.DtdMapping LEGACY2_HBM_DTD_MAPPING
public static final LocalXmlResourceResolver.DtdMapping CFG_DTD_MAPPING
public static final LocalXmlResourceResolver.DtdMapping LEGACY_CFG_DTD_MAPPING
public LocalXmlResourceResolver(ClassLoaderService classLoaderService)
public Object resolveEntity(String publicID, String systemID, String baseURI, String namespace) throws XMLStreamException
resolveEntity
in interface XMLResolver
XMLStreamException
Copyright © 2001-2017 Red Hat, Inc. All Rights Reserved.