|
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.SAXAdapter
SAXAdapter adapts a dbXML Collection to support the management of Documents using the SAX API.
Constructor Summary | |
SAXAdapter(Collection col)
|
Method Summary | |
void |
getDocument(Transaction tx,
java.lang.Object key,
org.xml.sax.ContentHandler handler)
getDocument instantiates and returns a DOM Document based on the provided Key. |
org.xml.sax.ContentHandler |
insertDocument(Transaction tx)
setDocument sets a Document using SAX events that are fed to the returned ContentHandler. |
org.xml.sax.ContentHandler |
insertDocument(Transaction tx,
java.lang.Object key)
insertDocument sets a Document using SAX events that are fed to the returned ContentHandler. |
org.xml.sax.ContentHandler |
setDocument(Transaction tx,
java.lang.Object key)
setDocument sets a Document using SAX events that are fed to the returned ContentHandler. |
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 SAXAdapter(Collection col)
Method Detail |
public org.xml.sax.ContentHandler setDocument(Transaction tx, java.lang.Object key) throws DBException
tx
- The controlling Transactionkey
- The Key to use
DBException
- If a Database Exception occurspublic org.xml.sax.ContentHandler insertDocument(Transaction tx) throws DBException
tx
- The controlling Transaction
DBException
- If a Database Exception occurspublic org.xml.sax.ContentHandler insertDocument(Transaction tx, java.lang.Object key) throws DBException
tx
- The controlling Transactionkey
- The Key to use
DBException
- If a Database Exception occurspublic void getDocument(Transaction tx, java.lang.Object key, org.xml.sax.ContentHandler handler) 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 |