|
dbXML API | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.dbxml.db.core.adapter.SimpleAdapter
com.dbxml.db.common.adapters.XMLSerializableAdapter
XMLSerializableAdapter adapts a dbXML Collection to support the management of dbXML XMLSerializable implementations.
Constructor Summary | |
XMLSerializableAdapter(Collection col)
|
Method Summary | |
XMLSerializable |
getObject(Transaction tx,
java.lang.Object key)
getObject instantiates and returns an XMLSerializable object based on the provided Key. |
void |
insertObject(Transaction tx,
java.lang.Object key,
XMLSerializable obj)
insertObject inserts an XMLSerializable object into the Collection based on the specified Key. |
Key |
insertObject(Transaction tx,
XMLSerializable obj)
insertObject inserts an XMLSerializable object into the Collection and returns a newly generated Key. |
void |
setObject(Transaction tx,
java.lang.Object key,
XMLSerializable obj)
setObject sets an XMLSerializable object in the Collection based on the provided Key. |
Methods inherited from class com.dbxml.db.core.adapter.SimpleAdapter |
getCanonicalName, getCollection, getKeyCount, getName, listKeys, queryCollection, queryDocument, remove |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public XMLSerializableAdapter(Collection col)
Method Detail |
public void setObject(Transaction tx, java.lang.Object key, XMLSerializable obj) throws DBException
tx
- The controlling Transactionkey
- The Key to useobj
- The Object to set
DBException
- If a Database Exception occurspublic Key insertObject(Transaction tx, XMLSerializable obj) throws DBException
tx
- The controlling Transactionobj
- The Object to insert
DBException
- If a Database Exception occurspublic void insertObject(Transaction tx, java.lang.Object key, XMLSerializable obj) throws DBException
tx
- The controlling Transactionkey
- The Key to useobj
- The Object to insert
DBException
- If a Database Exception occurspublic XMLSerializable getObject(Transaction tx, java.lang.Object key) throws DBException
tx
- The controlling Transactionkey
- The Document Key
DBException
- If a Database Exception occurs
|
dbXML API | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |