Qt 4.8
|
Constructs a namespace on an element, and naturally only appears as a child of ElementConstructor. More...
#include <qnamespaceconstructor_p.h>
Properties | |
const QXmlName | m_binding |
Constructs a namespace on an element, and naturally only appears as a child of ElementConstructor.
Definition at line 70 of file qnamespaceconstructor_p.h.
NamespaceConstructor::NamespaceConstructor | ( | const QXmlName | nb | ) |
Definition at line 50 of file qnamespaceconstructor.cpp.
|
virtual |
Implements QPatternist::Expression.
Definition at line 77 of file qnamespaceconstructor.cpp.
|
virtual |
Evaluates this Expression by sending its output to DynamicContext::outputReceiver().
Reimplemented from QPatternist::Expression.
Definition at line 55 of file qnamespaceconstructor.cpp.
|
virtual |
Reimplemented from QPatternist::EmptyContainer.
Definition at line 65 of file qnamespaceconstructor.cpp.
|
virtual |
This property, which has no setter, returns an enum value that uniquely identifies this Expression. Patternist makes no use of C++'s dynamic_cast feature, but uses this polymorphic function instead.
Reimplemented from QPatternist::Expression.
Definition at line 82 of file qnamespaceconstructor.cpp.
Referenced by namespaceBinding().
|
inline |
Definition at line 94 of file qnamespaceconstructor_p.h.
|
virtual |
The default implementation returns 0. Override and let the function return a different value, if that's of interest.
An important decision when re-implementing properties() is whether to OR in the properties() of ones operands. For instance, if an operand has RequiresFocus set, that flag nost likely applies to the apparent as well, since it depends on its operand.
Reimplemented from QPatternist::Expression.
Definition at line 72 of file qnamespaceconstructor.cpp.
|
virtual |
The static type is exactly one attribute node. It's unclear what affects the static type has, but specifying anything else could lead to complications wrt. node order, XQTY0024. Of course, it's not conceptually correct, since a namespace node isn't an attribute node.
Implements QPatternist::Expression.
Definition at line 60 of file qnamespaceconstructor.cpp.
|
private |
Definition at line 101 of file qnamespaceconstructor_p.h.
Referenced by evaluateToSequenceReceiver(), namespaceBinding(), and NamespaceConstructor().