XmlEventReaderToWriter API Ref

#include <DbXml.hpp>

class DbXml::XmlEventReaderToWriter { public: XmlEventReaderToWriter(XmlEventReader &reader, XmlEventWriter &writer, bool ownsReader = true) XmlEventReaderToWriter(XmlEventReader &reader, XmlEventWriter &writer, bool ownsReader, bool ownsWriter) ... };


Description: XmlEventReaderToWriter

The XmlEventReaderToWriter class enables events read from an XmlEventReader to be written directly to an XmlEventWriter. This is useful for processing XML document content, efficient copying, and other application integration tasks. Use XmlEventReaderToWriter::start to begin processing.

The method constructs an object from the reader and writer that will pipe events from the reader directly to the writer.

Parameters
reader writer ownsReader ownsWriter
This object is not thread-safe, and can only be safely used by one thread at a time in an application.

APIRef

Copyright (c) 1996-2009 Oracle. All rights reserved.