Qt 4.8
AbstractXmlPullProvider Class Reference

The AbstractXmlPullProvider class provides a pull-based stream interface for the XPath Data Model. More...

Detailed Description

The AbstractXmlPullProvider class provides a pull-based stream interface for the XPath Data Model.

Warning
This function is not part of the public interface.
Note
This class or function is reentrant.

AbstractXmlPullProvider allows a stream of items from the XPath Data Model – essentially XML – to be iterated over. The subclass of AbstractXmlPullProvider provides the events, and the user calling next() and so on, consumes them. AbstractXmlPullProvider can be considered a forward-only, non-reversible iterator.

Note that the content the events describes, are not necessarily a well-formed XML document, but rather an instance of the XPath Data model, to be specific. For instance, maybe a pull provider returns two atomic values, followed by an element tree, and at the end two document nodes.

If you are subclassing AbstractXmlPullProvider, be careful to correctly implement the behaviors, as described for the individual members and events.

See also
AbstractXmlPullProvider::Event

The documentation for this class was generated from the following file: