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 |
static String |
ORM_2_2_NAMESPACE |
static String |
ORM_2_2_XSD |
static String |
ORM_3_0_NAMESPACE |
static String |
ORM_3_0_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 XMLContext |
getOrm2_2Project() |
static Schema |
getOrm2_2Schema() |
static XMLContext |
getOrm3_0Project() |
static Schema |
getOrm3_0Schema() |
protected static Schema |
loadLocalSchema(String schemaName)
Load the XML schema from the jar resource.
|
static XMLEntityMappings |
read(String sourceName,
Reader reader,
ClassLoader classLoader,
Map properties)
INTERNAL:
|
protected static XMLEntityMappings |
read(String mappingFile,
Reader reader1,
Reader reader2,
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 ORM_2_2_XSD
public static final String ORM_2_2_NAMESPACE
public static final String ORM_3_0_XSD
public static final String ORM_3_0_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
IOExceptionSAXExceptionpublic static XMLContext getOrm1_0Project()
public static Schema getOrm1_0Schema() throws IOException, SAXException
IOExceptionSAXExceptionpublic static XMLContext getOrm2_0Project()
public static Schema getOrm2_0Schema() throws IOException, SAXException
IOExceptionSAXExceptionpublic static XMLContext getOrm2_1Project()
public static Schema getOrm2_1Schema() throws IOException, SAXException
IOExceptionSAXExceptionpublic static XMLContext getOrm2_2Project()
public static Schema getOrm2_2Schema() throws IOException, SAXException
IOExceptionSAXExceptionpublic static XMLContext getOrm3_0Project()
public static Schema getOrm3_0Schema() throws IOException, SAXException
IOExceptionSAXExceptionpublic static void clear()
protected static Schema loadLocalSchema(String schemaName) throws IOException, SAXException
IOExceptionSAXExceptionpublic static XMLEntityMappings read(String sourceName, Reader reader, ClassLoader classLoader, Map properties)
protected static XMLEntityMappings read(String mappingFile, Reader reader1, Reader reader2, ClassLoader classLoader, Map properties)
public static XMLEntityMappings read(URL url, ClassLoader classLoader, Properties properties) throws IOException
url - classLoader - properties - - PersistenceUnitInfo properties on the projectIOExceptionCopyright © 2007–2021 Eclipse.org - EclipseLink Project. All rights reserved.