XmlDocument.getContent |
![]() ![]() |
import com.sleepycat.dbxml.*;public byte[] getContent() throws XmlException; public String getContentAsString() throws XmlException;
The XmlDocument.getContent method returns a pointer to the document content. The returned value is owned by the XmlDocument, and is destroyed when the document is destroyed.
Returns a pointer to the XmlDocument content as raw bytes.
The getContentAsString() method copies the content of the document into a string . The getContent() method can be used to avoid the copy.
Returns the XmlDocument content as a string.
![]() ![]() |
Copyright (c) 1996-2003 Sleepycat Software, Inc. - All rights reserved.