XmlEventWriter::writeEndDocument

API Ref

#include <DbXml.hpp>

virtual void XmlEventWriter::writeEndDocument()


Description: XmlEventWriter::writeEndDocument

Write an EndDocument event to the XmlEventWriter. This indicates that the document is complete. The only valid call after this is made is XmlEventWriter::close.

Errors

The XmlEventWriter::writeEndDocument method may fail and throw XmlException, encapsulating one of the following non-zero errors:

EVENT_ERROR
An error occurred during processing of an XmlEventWriter object. Most likely the error is attempting to write a type or value that is not valid in the current state of the object.

APIRef

Copyright (c) 1996,2007 Oracle. All rights reserved.