C# Класс SimpleFramework.Xml.Core.NamespaceDecorator

The NamespaceDecorator 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.
Наследование: Decorator
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
NamespaceDecorator ( ) : SimpleFramework.Xml.Stream

Constructor for the NamespaceDecorator 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.

Set ( Namespace Namespace ) : void

This is used to set the primary namespace for nodes that will be decorated by the namespace decorator. If no namespace is set using this method then this decorator will leave the namespace reference unchanged and only add namespaces for scoping.

Описание методов

NamespaceDecorator() публичный Метод

Constructor for the NamespaceDecorator 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.
public NamespaceDecorator ( ) : SimpleFramework.Xml.Stream
Результат SimpleFramework.Xml.Stream

Set() публичный Метод

This is used to set the primary namespace for nodes that will be decorated by the namespace decorator. If no namespace is set using this method then this decorator will leave the namespace reference unchanged and only add namespaces for scoping.
public Set ( Namespace Namespace ) : void
Namespace SimpleFramework.Xml.Namespace
Результат void