|
Xindice API version 1.1 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface Container
Container is a generic container for Key and Document pairs.
Method Summary | |
---|---|
void |
commit()
commit saves the Document in the Collection. |
void |
commit(org.w3c.dom.Document document)
commit replaces the Document in the Collection with the specified Document. |
String |
getCanonicalName()
getCanonicalName returns the canonical name for the contained Document. |
Collection |
getCollection()
getCollection returns the Collection that the Document contained belongs to. |
org.w3c.dom.Document |
getDocument()
getDocument returns the contained Document. |
Key |
getKey()
getKey returns the Document Key. |
void |
remove()
delete removes the Document from the Collection. |
org.w3c.dom.Document |
rollback()
rollback reloads the Document from the Collection. |
Method Detail |
---|
Collection getCollection()
Key getKey()
String getCanonicalName() throws DBException
DBException
org.w3c.dom.Document getDocument()
org.w3c.dom.Document rollback() throws DBException
DBException
void remove() throws DBException
DBException
void commit() throws DBException
DBException
void commit(org.w3c.dom.Document document) throws DBException
document
- The Document
DBException
|
Xindice API version 1.1 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |