Qt 4.8
|
Constructs a namespace on an element, and naturally only appears as a child of ElementConstructor. More...
#include <qcomputednamespaceconstructor_p.h>
Constructs a namespace on an element, and naturally only appears as a child of ElementConstructor.
Definition at line 71 of file qcomputednamespaceconstructor_p.h.
ComputedNamespaceConstructor::ComputedNamespaceConstructor | ( | const Expression::Ptr & | prefix, |
const Expression::Ptr & | namespaceURI | ||
) |
Definition at line 54 of file qcomputednamespaceconstructor.cpp.
|
virtual |
Implements QPatternist::Expression.
Definition at line 131 of file qcomputednamespaceconstructor.cpp.
|
virtual |
Evaluates this Expression by sending its output to DynamicContext::outputReceiver().
Reimplemented from QPatternist::Expression.
Definition at line 59 of file qcomputednamespaceconstructor.cpp.
|
virtual |
Implements QPatternist::Expression.
Definition at line 118 of file qcomputednamespaceconstructor.cpp.
|
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 126 of file qcomputednamespaceconstructor.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 113 of file qcomputednamespaceconstructor.cpp.