|
Oracle Application Server TopLink API Reference 10g Release 2 (10.1.2) B15903-01 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object
oracle.toplink.sdk.SDKAccessor
oracle.toplink.xml.stream.XMLStreamAccessor
Constructor Summary | |
XMLStreamAccessor() |
Method Summary | |
DatabaseRow |
convert(DatabaseRow row, oracle.toplink.publicinterface.Session session) Everything in XML must be strings. |
void |
createStreamSource(java.lang.String rootElementName) Create a source for data streams for the XML documents with the specified root element name. |
java.lang.Integer |
deleteStream(java.lang.String rootElementName, DatabaseRow row, java.util.Vector orderedPrimaryKeyElements) Delete the data for the specified root element and primary key. |
void |
dropStreamSource(java.lang.String rootElementName) Drop the source for data streams for the XML documents with the specified root element name. |
java.io.Reader |
getExistenceCheckStream(java.lang.String rootElementName, DatabaseRow row, java.util.Vector orderedPrimaryKeyElements) If it exists, return a read stream on the data for the specified root element and primary key. |
java.io.Writer |
getExistingWriteStream(java.lang.String rootElementName, DatabaseRow row, java.util.Vector orderedPrimaryKeyElements) Return a write stream that will overwrite the data for the specified root element and primary key. |
java.io.Writer |
getNewWriteStream(java.lang.String rootElementName, DatabaseRow row, java.util.Vector orderedPrimaryKeyElements) Return a new write stream for the specified root element and primary key. |
java.io.Reader |
getReadStream(java.lang.String rootElementName, DatabaseRow row, java.util.Vector orderedPrimaryKeyElements) Return a read stream on the data for the specified root element and primary key. |
java.util.Enumeration |
getReadStreams(java.lang.String rootElementName) Return an enumeration on a collection of read streams, one for *every* document with the specified root element. |
java.util.Enumeration |
getReadStreams(java.lang.String rootElementName, java.util.Vector foreignKeys, java.util.Vector orderedForeignKeyElements) Return an enumeration on a collection of streams, one for every specified foreign key. |
XMLTranslator |
getXMLTranslator() Return the default XML translator for all data store calls. |
void |
setXMLStreamDatabase(XMLStreamDatabase newXMLStreamDatabase) |
void |
setXMLTranslator(XMLTranslator translator) Set the default XML translator for all data store calls. |
Methods inherited from class oracle.toplink.sdk.SDKAccessor |
afterJTSTransaction, beginTransaction, clone, closeConnection, commitTransaction, connect, decrementCallCount, disconnect, executeCall, flushSelectCalls, getCallCount, getColumnInfo, getConnection, getTableInfo, incrementCallCount, isConnected, logMessage, reestablishConnection, rollbackTransaction, toString, usesExternalTransactionController |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public XMLStreamAccessor()
Method Detail |
public void setXMLStreamDatabase(XMLStreamDatabase newXMLStreamDatabase)
public DatabaseRow convert(DatabaseRow row, oracle.toplink.publicinterface.Session session)
convert
in interface XMLAccessor
public void createStreamSource(java.lang.String rootElementName) throws XMLDataStoreException
createStreamSource
in interface XMLAccessor
XMLDataStoreException
public java.lang.Integer deleteStream(java.lang.String rootElementName, DatabaseRow row, java.util.Vector orderedPrimaryKeyElements) throws XMLDataStoreException
deleteStream
in interface XMLAccessor
XMLDataStoreException
public void dropStreamSource(java.lang.String rootElementName) throws XMLDataStoreException
dropStreamSource
in interface XMLAccessor
XMLDataStoreException
public java.io.Reader getExistenceCheckStream(java.lang.String rootElementName, DatabaseRow row, java.util.Vector orderedPrimaryKeyElements) throws XMLDataStoreException
getExistenceCheckStream
in interface XMLAccessor
XMLDataStoreException
public java.io.Writer getExistingWriteStream(java.lang.String rootElementName, DatabaseRow row, java.util.Vector orderedPrimaryKeyElements) throws XMLDataStoreException
getExistingWriteStream
in interface XMLAccessor
XMLDataStoreException
public java.io.Writer getNewWriteStream(java.lang.String rootElementName, DatabaseRow row, java.util.Vector orderedPrimaryKeyElements) throws XMLDataStoreException
getNewWriteStream
in interface XMLAccessor
XMLDataStoreException
public java.io.Reader getReadStream(java.lang.String rootElementName, DatabaseRow row, java.util.Vector orderedPrimaryKeyElements) throws XMLDataStoreException
getReadStream
in interface XMLAccessor
XMLDataStoreException
public java.util.Enumeration getReadStreams(java.lang.String rootElementName) throws XMLDataStoreException
getReadStreams
in interface XMLAccessor
XMLDataStoreException
public java.util.Enumeration getReadStreams(java.lang.String rootElementName, java.util.Vector foreignKeys, java.util.Vector orderedForeignKeyElements) throws XMLDataStoreException
getReadStreams
in interface XMLAccessor
XMLDataStoreException
public XMLTranslator getXMLTranslator()
getXMLTranslator
in interface XMLAccessor
public void setXMLTranslator(XMLTranslator translator)
setXMLTranslator
in interface XMLAccessor
|
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |