|
Oracle® OLAP Java API Reference 11g Release 1 (11.1) B28128-03 |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectoracle.olapi.metadata.conversion.LegacyXMLConverter
public final class LegacyXMLConverter
A class that converts Oracle OLAP 10g AWXML
metadata objects into 11g metadata objects.
With the importXML method of a LegacyXMLConverter,
you can import the XML definitions of metadata objects that were
created using the 10g Oracle OLAP Analytic Workspace Java API.
You can get the objects as 11g metadata objects with the
getConvertedObjects method.
If any problems exist in the XML to convert, such as a metadata object
having the same name as an object that is in the Oracle Database data
dictionary, you must fix the problem by editing the XML.
After successfully importing the XML for the 10g objects, you
can export the XML for the 11g objects with one of the
methods of the MdmMetadataProvider that you are using.
You can also commit the root Transaction of the session
and then build the metadata objects.
| Constructor Summary | |
|---|---|
LegacyXMLConverter(BaseMetadataProvider provider,
MdmDatabaseSchema defaultSchema)
Creates a LegacyXMLConverter with the specified
BaseMetadataProvider and MdmDatabaseSchema. |
|
| Method Summary | |
|---|---|
java.util.List<BaseMetadataObject> |
getConvertedObjects()
Gets the converted BaseMetadataObject objects that this
LegacyXMLConverter created. |
MdmDatabaseSchema |
getDefaultSchema()
Gets the MdmDatabaseSchema that is associated with this
LegacyXMLConverter. |
java.util.List<java.lang.Exception> |
getWarnings()
Gets error messages that occur during the importation and conversion of the XML. |
void |
importXML(java.io.Reader inXML)
Imports the XML definitions of Oracle OLAP 10g AWXML
metadata objects and converts them to 11g metadata objects. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface java.util.Comparator |
|---|
compare, equals |
| Constructor Detail |
|---|
public LegacyXMLConverter(BaseMetadataProvider provider,
MdmDatabaseSchema defaultSchema)
LegacyXMLConverter with the specified
BaseMetadataProvider and MdmDatabaseSchema.
provider - The BaseMetadataProvider for the session.defaultSchema - The MdmDatabaseSchema for the session.| Method Detail |
|---|
public void importXML(java.io.Reader inXML)
throws java.io.IOException,
org.xml.sax.SAXException
AWXML
metadata objects and converts them to 11g metadata objects.
inXML - A Reader that has the XML to convert.
java.io.IOException
org.xml.sax.SAXExceptionpublic java.util.List<java.lang.Exception> getWarnings()
List of Exception objects.public MdmDatabaseSchema getDefaultSchema()
MdmDatabaseSchema that is associated with this
LegacyXMLConverter.
MdmDatabaseSchema for this
LegacyXMLConverter.public java.util.List<BaseMetadataObject> getConvertedObjects()
BaseMetadataObject objects that this
LegacyXMLConverter created.
List of the converted
BaseMetadataObject objects of this
LegacyXMLConverter.
|
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||