XmlDocument |
import com.sleepycat.dbxml.*;public class XmlDocument extends Object { XmlDocument() throws DbException; ... }
An XmlDocument is the unit of storage within a XmlContainer.
A XmlDocument contains a stream of bytes that may be of type XML or BYTES. The XmlContainer will only index the content of XmlDocuments that contain XML. The BYTES type is supported to allow the storage of arbitrary content along with XML content.
All documents objects stored within a container are assigned a document ID, at 32-bit unsigned integral value. This ID uniquely identifies a document within a container. The ID is assigned by the container when the document is first added to the container.
The XmlDocument class supports annotation attributes. The user may annotate their documents with meta-information to be stored with their document, but not within their document.
XmlDocument.getAttributeValue, XmlDocument.getContent, XmlDocument.getID, XmlDocument.getName, XmlDocument.getType, XmlDocument.setContent, XmlDocument.setName, and XmlDocument.setType.