|
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.DOMAdapter
DOMAdapter adapts a dbXML Collection to support the management of DOM Documents.
| Constructor Summary | |
DOMAdapter(Collection col)
|
|
| Method Summary | |
org.w3c.dom.Document |
getDocument(Transaction tx,
java.lang.Object key)
getDocument instantiates and returns a DOM Document based on the provided Key. |
Key |
insertDocument(Transaction tx,
org.w3c.dom.Document doc)
insertDocument inserts a DOM Document into the Collection and returns a newly generated Key. |
void |
insertDocument(Transaction tx,
java.lang.Object key,
org.w3c.dom.Document doc)
insertDocument inserts a DOM Document into the Collection based on the specified Key. |
void |
setDocument(Transaction tx,
java.lang.Object key,
org.w3c.dom.Document doc)
setDocument sets a DOM Document 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 DOMAdapter(Collection col)
| Method Detail |
public void setDocument(Transaction tx,
java.lang.Object key,
org.w3c.dom.Document doc)
throws DBException
tx - The controlling Transactionkey - The Key to use
DBException - If a Database Exception occurs
public Key insertDocument(Transaction tx,
org.w3c.dom.Document doc)
throws DBException
tx - The controlling Transaction
DBException - If a Database Exception occurs
public void insertDocument(Transaction tx,
java.lang.Object key,
org.w3c.dom.Document doc)
throws DBException
tx - The controlling Transactionkey - The Key to use
DBException - If a Database Exception occurs
public org.w3c.dom.Document getDocument(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 | ||||||||||