primary
This is used to set the primary namespace reference used.
DecoratorNamespaceDecorator object is used to decorate
any output node with namespaces. All namespaces added to this are
applied to nodes that require decoration. This can add namespaces
to the node as well as setting the primary namespace reference
for the node. This results in qualification for the node.voidvoiddecorate(OutputNode node) voiddecorate(OutputNode node,
Decorator decorator) private voidnamespace(OutputNode node) Namespace annotations on
the node.private voidscope(OutputNode node) NamespaceList annotations
on the node.voidNamespaceDecorator object. A
namespace decorator can be used for applying namespaces to a
specified node. It can add namespaces to set the scope of the
namespace reference to the node and it can also be used to set
the primary namespace reference used for the node.namespace - this is the primary namespace to be setnamespace - this is the namespace to be added for scopingDecorator which is applied before
this decorator, any common data can then be overwritten.NamespaceList annotations
on the node. If there is no namespace list then this will return
and the node will be left unchanged. If however the namespace
list is not empty the the namespaces are added.node - this is the node to apply the namespace list toNamespace annotations on
the node. If there is no namespace then this will return and
the node will be left unchanged. If however the namespace is
not null then the reference is applied to the specified node.node - this is the node to apply the namespace to