XmlEventReader::isEmptyElement

API Ref

#include <DbXml.hpp>

virtual bool XmlEventReader::isEmptyElement() const


Description: XmlEventReader::isEmptyElement

Return true if the current event is StartElement and the element has not content. If the current even is not StartElement, an exception will be thrown.

Errors

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

EVENT_ERROR
An error occurred during processing of an XmlEventReader object. Most likely the error is requesting state that is not valid in the context of the current event.

APIRef

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