public class XMLEntityMappingsReader extends Object
Modifier and Type | Field and Description |
---|---|
static String |
ECLIPSELINK_ORM_NAMESPACE |
static String |
ECLIPSELINK_ORM_XSD |
static String |
ORM_1_0_NAMESPACE |
static String |
ORM_1_0_XSD |
static String |
ORM_2_0_NAMESPACE |
static String |
ORM_2_0_XSD |
static String |
ORM_2_1_NAMESPACE |
static String |
ORM_2_1_XSD |
Constructor and Description |
---|
XMLEntityMappingsReader() |
Modifier and Type | Method and Description |
---|---|
static void |
clear()
Free the project and schema objects to avoid holding onto the memory.
|
static XMLContext |
getEclipseLinkOrmProject() |
static Schema |
getEclipseLinkOrmSchema() |
static XMLContext |
getOrm1_0Project() |
static Schema |
getOrm1_0Schema() |
static XMLContext |
getOrm2_0Project() |
static Schema |
getOrm2_0Schema() |
static XMLContext |
getOrm2_1Project() |
static Schema |
getOrm2_1Schema() |
static XMLEntityMappings |
read(String sourceName,
Reader reader,
ClassLoader classLoader,
Map properties)
INTERNAL:
|
static XMLEntityMappings |
read(URL url,
ClassLoader classLoader,
Properties properties)
INTERNAL:
|
public static final String ORM_1_0_XSD
public static final String ORM_1_0_NAMESPACE
public static final String ORM_2_0_XSD
public static final String ORM_2_0_NAMESPACE
public static final String ORM_2_1_XSD
public static final String ORM_2_1_NAMESPACE
public static final String ECLIPSELINK_ORM_XSD
public static final String ECLIPSELINK_ORM_NAMESPACE
public static XMLContext getEclipseLinkOrmProject()
public static Schema getEclipseLinkOrmSchema() throws IOException, SAXException
IOException
SAXException
public static XMLContext getOrm1_0Project()
public static Schema getOrm1_0Schema() throws IOException, SAXException
IOException
SAXException
public static XMLContext getOrm2_0Project()
public static Schema getOrm2_0Schema() throws IOException, SAXException
IOException
SAXException
public static XMLContext getOrm2_1Project()
public static Schema getOrm2_1Schema() throws IOException, SAXException
IOException
SAXException
public static void clear()
public static XMLEntityMappings read(String sourceName, Reader reader, ClassLoader classLoader, Map properties)
public static XMLEntityMappings read(URL url, ClassLoader classLoader, Properties properties) throws IOException
url
- classLoader
- properties
- - PersistenceUnitInfo properties on the projectIOException
EclipseLink 2.6.3, "build v20160428-59c81c5" API Reference