Qt 4.8
|
#include <qdocumentprojector_p.h>
Public Functions | |
virtual void | attribute (const QXmlName name, const QString &value) |
Signals the presence of an attribute node. More... | |
virtual void | characters (const QString &value) |
virtual void | comment (const QString &value) |
DocumentProjector (const ProjectedExpression::Vector &paths, QAbstractXmlReceiver *const receiver) | |
virtual void | endDocument () |
virtual void | endElement () |
Signals the end of the current element. More... | |
virtual void | item (const Item &item) |
Sends an Item to this QAbstractXmlReceiver that may be a QXmlNodeModelIndex or an AtomicValue. More... | |
virtual void | namespaceBinding (const QXmlName nb) |
virtual void | processingInstruction (const QXmlName name, const QString &value) |
virtual void | startDocument () |
virtual void | startElement (const QXmlName name) |
Signals the start of an element by name name . More... | |
Public Functions inherited from QPatternist::QAbstractXmlReceiver | |
virtual void | namespaceBinding (const QXmlName &nb)=0 |
Signals the presence of the namespace declaration nb . More... | |
QAbstractXmlReceiver () | |
virtual void | whitespaceOnly (const QStringRef &value) |
virtual | ~QAbstractXmlReceiver () |
Public Functions inherited from QSharedData | |
QSharedData () | |
Constructs a QSharedData object with a reference count of 0. More... | |
QSharedData (const QSharedData &) | |
Constructs a QSharedData object with reference count 0. More... | |
Public Variables | |
ProjectedExpression::Action | m_action |
int | m_nodesInProcess |
const int | m_pathCount |
ProjectedExpression::Vector | m_paths |
QAbstractXmlReceiver *const | m_receiver |
Public Variables inherited from QSharedData | |
QAtomicInt | ref |
Additional Inherited Members | |
Public Types inherited from QPatternist::QAbstractXmlReceiver | |
typedef QExplicitlySharedDataPointer< QAbstractXmlReceiver > | Ptr |
Protected Functions inherited from QPatternist::QAbstractXmlReceiver | |
void | sendAsNode (const Item &outputItem) |
Definition at line 69 of file qdocumentprojector_p.h.
DocumentProjector::DocumentProjector | ( | const ProjectedExpression::Vector & | paths, |
QAbstractXmlReceiver *const | receiver | ||
) |
Definition at line 48 of file qdocumentprojector.cpp.
Signals the presence of an attribute node.
This function is guaranteed by the caller to always be called after a call to startElement() or attribute().
name | the name of the attribute. Guaranteed to always be non-null. |
value | the value of the attribute. Guaranteed to always be non-null. |
Implements QPatternist::QAbstractXmlReceiver.
Definition at line 168 of file qdocumentprojector.cpp.
|
virtual |
Sends a text node with value value
. Adjascent text nodes may be sent. There's no restrictions on value
, beyond that it must be valid XML characters. For instance, value
may contain only whitespace.
Implements QPatternist::QAbstractXmlReceiver.
Definition at line 187 of file qdocumentprojector.cpp.
|
virtual |
Implements QPatternist::QAbstractXmlReceiver.
Definition at line 180 of file qdocumentprojector.cpp.
|
virtual |
End of a document node.
Implements QPatternist::QAbstractXmlReceiver.
Definition at line 210 of file qdocumentprojector.cpp.
|
virtual |
Signals the end of the current element.
Implements QPatternist::QAbstractXmlReceiver.
Definition at line 125 of file qdocumentprojector.cpp.
|
virtual |
Sends an Item to this QAbstractXmlReceiver that may be a QXmlNodeModelIndex or an AtomicValue.
Implements QPatternist::QAbstractXmlReceiver.
Definition at line 201 of file qdocumentprojector.cpp.
|
virtual |
Definition at line 175 of file qdocumentprojector.cpp.
|
virtual |
Implements QPatternist::QAbstractXmlReceiver.
Definition at line 192 of file qdocumentprojector.cpp.
|
virtual |
Start of a document node.
Implements QPatternist::QAbstractXmlReceiver.
Definition at line 206 of file qdocumentprojector.cpp.
|
virtual |
Signals the start of an element by name name
.
Implements QPatternist::QAbstractXmlReceiver.
Definition at line 61 of file qdocumentprojector.cpp.
ProjectedExpression::Action QPatternist::DocumentProjector::m_action |
Definition at line 97 of file qdocumentprojector_p.h.
Referenced by endElement(), and startElement().
int QPatternist::DocumentProjector::m_nodesInProcess |
Definition at line 98 of file qdocumentprojector_p.h.
Referenced by endElement(), and startElement().
const int QPatternist::DocumentProjector::m_pathCount |
Definition at line 96 of file qdocumentprojector_p.h.
Referenced by startElement().
ProjectedExpression::Vector QPatternist::DocumentProjector::m_paths |
Definition at line 95 of file qdocumentprojector_p.h.
Referenced by startElement().
QAbstractXmlReceiver* const QPatternist::DocumentProjector::m_receiver |
Definition at line 99 of file qdocumentprojector_p.h.
Referenced by DocumentProjector(), endElement(), and startElement().