XmlEventWriter::writeEndEntity

API Ref

#include <DbXml.hpp>

virtual void XmlEventWriter::writeEndEntity(const unsigned char *name)


Description: XmlEventWriter::writeEndEntity

Write an EndEntityReference event to the XmlEventWriter. This must have been preceded by a call to XmlEventWriter::writeStartEntity. Writing of StartEntityReference and EndEntityReference events is optional, but helpful for round-tripping of documents. A given implementation of XmlEventWriter may safely ignore such events.

Parameters

name
The name of the entity reference.

Errors

The XmlEventWriter::writeEndEntity 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.