| Modifier and Type | Field and Description |
|---|---|
| public static final String | |
| public static final String | |
| private static XMLContext | |
| private static Schema | |
| private static XMLContext | |
| private static Schema | |
| private static XMLContext | |
| private static Schema | |
| private static XMLContext | |
| private static Schema | |
| private static XMLContext | |
| private static Schema | |
| private static XMLContext | |
| private static Schema | |
| private static XMLContext | |
| private static Schema | |
| public static final String | |
| public static final String | |
| public static final String | |
| public static final String | |
| public static final String | |
| public static final String | |
| public static final String | |
| public static final String | |
| public static final String | |
| public static final String | |
| public static final String | |
| public static final String |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| public static void | |
| private static Object[] | determineXMLContextAndSchema(String file, Reader input, boolean validateSchema)
Check the orm.xml to determine which project and schema to use. |
| public static XMLContext | |
| public static Schema | |
| private static InputStreamReader | |
| public static XMLContext | |
| public static Schema | |
| public static XMLContext | |
| public static Schema | |
| public static XMLContext | |
| public static Schema | |
| public static XMLContext | |
| public static Schema | |
| public static XMLContext | |
| public static Schema | |
| public static XMLContext | |
| public static Schema | |
| private static boolean | isORMSchemaValidationPerformed(Map<K, V>
- PersistenceUnitInfo properties on the project properties)INTERNAL: Return whether the schema validation flag in the Persistence Unit eclipselink.orm.validate.schema is set to true or false. |
| protected static Schema | |
| public static XMLEntityMappings | |
| protected static XMLEntityMappings | |
| public static XMLEntityMappings | read(URL url, ClassLoader classLoader, Properties
- PersistenceUnitInfo properties on the project properties)INTERNAL: |
| private static void | useLocalSchemaForUnmarshaller(XMLUnmarshaller unmarshaller, Schema schema)
This method allows you to set an XML schema on a given unmarshaller. |
| ECLIPSELINK_ORM_NAMESPACE | back to summary |
|---|---|
| public static final String ECLIPSELINK_ORM_NAMESPACE | |
| ECLIPSELINK_ORM_XSD | back to summary |
|---|---|
| public static final String ECLIPSELINK_ORM_XSD | |
| m_eclipseLinkOrmProject | back to summary |
|---|---|
| private static XMLContext m_eclipseLinkOrmProject | |
| m_eclipseLinkOrmSchema | back to summary |
|---|---|
| private static Schema m_eclipseLinkOrmSchema | |
| m_orm1_0Project | back to summary |
|---|---|
| private static XMLContext m_orm1_0Project | |
| m_orm1_0Schema | back to summary |
|---|---|
| private static Schema m_orm1_0Schema | |
| m_orm2_0Project | back to summary |
|---|---|
| private static XMLContext m_orm2_0Project | |
| m_orm2_0Schema | back to summary |
|---|---|
| private static Schema m_orm2_0Schema | |
| m_orm2_1Project | back to summary |
|---|---|
| private static XMLContext m_orm2_1Project | |
| m_orm2_1Schema | back to summary |
|---|---|
| private static Schema m_orm2_1Schema | |
| m_orm2_2Project | back to summary |
|---|---|
| private static XMLContext m_orm2_2Project | |
| m_orm2_2Schema | back to summary |
|---|---|
| private static Schema m_orm2_2Schema | |
| m_orm3_0Project | back to summary |
|---|---|
| private static XMLContext m_orm3_0Project | |
| m_orm3_0Schema | back to summary |
|---|---|
| private static Schema m_orm3_0Schema | |
| m_orm3_1Project | back to summary |
|---|---|
| private static XMLContext m_orm3_1Project | |
| m_orm3_1Schema | back to summary |
|---|---|
| private static Schema m_orm3_1Schema | |
| ORM_1_0_NAMESPACE | back to summary |
|---|---|
| public static final String ORM_1_0_NAMESPACE | |
| ORM_1_0_XSD | back to summary |
|---|---|
| public static final String ORM_1_0_XSD | |
| ORM_2_0_NAMESPACE | back to summary |
|---|---|
| public static final String ORM_2_0_NAMESPACE | |
| ORM_2_0_XSD | back to summary |
|---|---|
| public static final String ORM_2_0_XSD | |
| ORM_2_1_NAMESPACE | back to summary |
|---|---|
| public static final String ORM_2_1_NAMESPACE | |
| ORM_2_1_XSD | back to summary |
|---|---|
| public static final String ORM_2_1_XSD | |
| ORM_2_2_NAMESPACE | back to summary |
|---|---|
| public static final String ORM_2_2_NAMESPACE | |
| ORM_2_2_XSD | back to summary |
|---|---|
| public static final String ORM_2_2_XSD | |
| ORM_3_0_NAMESPACE | back to summary |
|---|---|
| public static final String ORM_3_0_NAMESPACE | |
| ORM_3_0_XSD | back to summary |
|---|---|
| public static final String ORM_3_0_XSD | |
| ORM_3_1_NAMESPACE | back to summary |
|---|---|
| public static final String ORM_3_1_NAMESPACE | |
| ORM_3_1_XSD | back to summary |
|---|---|
| public static final String ORM_3_1_XSD | |
| XMLEntityMappingsReader | back to summary |
|---|---|
| private XMLEntityMappingsReader() | |
| clear | back to summary |
|---|---|
| public static void clear() Free the project and schema objects to avoid holding onto the memory. This can be done post-deployment to conserve memory. | |
| determineXMLContextAndSchema | back to summary |
|---|---|
| private static Object[] determineXMLContextAndSchema(String file, Reader input, boolean validateSchema) throws Exception Check the orm.xml to determine which project and schema to use. EclipseLink ORM is used if input Reader is null | |
| getEclipseLinkOrmProject | back to summary |
|---|---|
public static XMLContext getEclipseLinkOrmProject()
| |
| getEclipseLinkOrmSchema | back to summary |
|---|---|
public static Schema getEclipseLinkOrmSchema() throws IOException, SAXException
| |
| getInputStreamReader | back to summary |
|---|---|
| private static InputStreamReader getInputStreamReader(URL url) throws IOException Gets a reader from given URL. | |
| getOrm1_0Project | back to summary |
|---|---|
public static XMLContext getOrm1_0Project()
| |
| getOrm1_0Schema | back to summary |
|---|---|
public static Schema getOrm1_0Schema() throws IOException, SAXException
| |
| getOrm2_0Project | back to summary |
|---|---|
public static XMLContext getOrm2_0Project()
| |
| getOrm2_0Schema | back to summary |
|---|---|
public static Schema getOrm2_0Schema() throws IOException, SAXException
| |
| getOrm2_1Project | back to summary |
|---|---|
public static XMLContext getOrm2_1Project()
| |
| getOrm2_1Schema | back to summary |
|---|---|
public static Schema getOrm2_1Schema() throws IOException, SAXException
| |
| getOrm2_2Project | back to summary |
|---|---|
public static XMLContext getOrm2_2Project()
| |
| getOrm2_2Schema | back to summary |
|---|---|
public static Schema getOrm2_2Schema() throws IOException, SAXException
| |
| getOrm3_0Project | back to summary |
|---|---|
public static XMLContext getOrm3_0Project()
| |
| getOrm3_0Schema | back to summary |
|---|---|
public static Schema getOrm3_0Schema() throws IOException, SAXException
| |
| getOrm3_1Project | back to summary |
|---|---|
public static XMLContext getOrm3_1Project()
| |
| getOrm3_1Schema | back to summary |
|---|---|
public static Schema getOrm3_1Schema() throws IOException, SAXException
| |
| isORMSchemaValidationPerformed | back to summary |
|---|---|
| private static boolean isORMSchemaValidationPerformed(Map<K, V> properties) INTERNAL:
Return whether the schema validation flag in the Persistence Unit
eclipselink.orm.validate.schema is set to true or false.
| |
| loadLocalSchema | back to summary |
|---|---|
| protected static Schema loadLocalSchema(String schemaName) throws IOException, SAXException Load the XML schema from the jar resource. | |
| read | back to summary |
|---|---|
| public static XMLEntityMappings read(String sourceName, Reader reader, ClassLoader classLoader, Map<K, V> properties) INTERNAL: | |
| read | back to summary |
|---|---|
| protected static XMLEntityMappings read(String mappingFile, Reader reader1, Reader reader2, ClassLoader classLoader, Map<K, V> properties) INTERNAL: | |
| read | back to summary |
|---|---|
| public static XMLEntityMappings read(URL url, ClassLoader classLoader, Properties properties) throws IOException INTERNAL:
| |
| useLocalSchemaForUnmarshaller | back to summary |
|---|---|
| private static void useLocalSchemaForUnmarshaller(XMLUnmarshaller unmarshaller, Schema schema) This method allows you to set an XML schema on a given unmarshaller. It will get the schema from the same classloader that loaded this class and hence works for the case where the schema is shipped as part of EclipseLink | |