Oracle Application Server TopLink API Reference
10g Release 2 (10.1.2)

B15903-01


oracle.toplink.xml
Class XMLSchemaManager

java.lang.Object
  extended byoracle.toplink.tools.schemaframework.SchemaManager
      extended byoracle.toplink.sdk.SDKSchemaManager
          extended byoracle.toplink.xml.XMLSchemaManager


public class XMLSchemaManager
extends SDKSchemaManager

This class extends the base TOPLink SchemaManager to create XML stream sources and sequences for XML Projects.

Since:
TOPLink/Java 3.0

Constructor Summary
XMLSchemaManager(oracle.toplink.publicinterface.DatabaseSession session)
Construct a schema manager for the specified session.
XMLSchemaManager(DatabaseSession session)
Construct a schema manager for the specified session.

Method Summary
void createObject(DatabaseObjectDefinition databaseObjectDefinition)
Use the definition object to create the schema entity on the XML datastore.
void dropObject(DatabaseObjectDefinition databaseObjectDefinition)
Drop the specified object.

Methods inherited from class oracle.toplink.tools.schemaframework.SchemaManager
alterSequence, appendToDDLWriter, closeDDLWriter, createConstraints, createSequences, dropConstraints, dropPre25Constraints, dropTable, generateStoredProcedures, generateStoredProcedures, generateStoredProceduresAndAmendmentClass, generateStoredProceduresAndAmendmentClass, getAllColumnNames, getAllColumnNames, getAllTableNames, getAllTableNames, getColumnInfo, getSession, getTableInfo, outputDDLToDatabase, outputDDLToFile, outputDDLToWriter, replaceObject, replaceSequences, setSession, shouldWriteToDatabase

Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

Constructor Detail

XMLSchemaManager

public XMLSchemaManager(oracle.toplink.publicinterface.DatabaseSession session)
Construct a schema manager for the specified session.

XMLSchemaManager

public XMLSchemaManager(DatabaseSession session)
Construct a schema manager for the specified session.

Method Detail

createObject

public void createObject(DatabaseObjectDefinition databaseObjectDefinition)
                  throws TopLinkException
Use the definition object to create the schema entity on the XML datastore. This is used for creating stream sources and sequences.
Overrides:
createObject in class SchemaManager
Throws:
TopLinkException

dropObject

public void dropObject(DatabaseObjectDefinition databaseObjectDefinition)
                throws TopLinkException
Drop the specified object.
Overrides:
dropObject in class SchemaManager
Throws:
TopLinkException

Copyright © 1998, 2005 Oracle Corporation. All Rights Reserved.