C# Класс TagLib.Xmp.XmpNode

An XmpNode represents a node in the XMP document. This is any valid XMP element.
Показать файл Открыть проект Примеры использования класса

Private Properties

Свойство Тип Описание
AddAllChildrenTo void
AddAllQualifiersTo void
Dump void

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

Метод Описание
Accept ( XmpNodeVisitor visitor ) : void

Calls the Visitor for this node and every child node.

AddChild ( XmpNode node ) : void

Adds a node as child of the current node

AddQualifier ( XmpNode node ) : void

Adds a node as qualifier of the current instance

Dump ( ) : void

Print a debug output of the node.

GetChild ( string ns, string name ) : XmpNode

Get a named child from the current node

GetQualifier ( string ns, string name ) : XmpNode

Returns the qualifier associated with the given namespace ns and name name

RemoveChild ( XmpNode node ) : void

Removes the given node as child of the current instance

RenderInto ( XmlNode parent ) : void

Renders the current instance as child of the given node to the given XmlNode

XmpNode ( string ns, string name ) : System

Constructor.

XmpNode ( string ns, string name, string value ) : System

Constructor.

Приватные методы

Метод Описание
AddAllChildrenTo ( XmlNode parent ) : void
AddAllQualifiersTo ( XmlNode xml ) : void
Dump ( string prefix ) : void

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

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

Calls the Visitor for this node and every child node.
public Accept ( XmpNodeVisitor visitor ) : void
visitor XmpNodeVisitor /// A to access the node and the children. ///
Результат void

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

Adds a node as child of the current node
public AddChild ( XmpNode node ) : void
node XmpNode /// A to be add as child ///
Результат void

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

Adds a node as qualifier of the current instance
public AddQualifier ( XmpNode node ) : void
node XmpNode /// A to add as qualifier ///
Результат void

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

Print a debug output of the node.
public Dump ( ) : void
Результат void

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

Get a named child from the current node
public GetChild ( string ns, string name ) : XmpNode
ns string /// The namespace of the child node. ///
name string /// The name of the child node. ///
Результат XmpNode

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

Returns the qualifier associated with the given namespace ns and name name
public GetQualifier ( string ns, string name ) : XmpNode
ns string /// A with the namespace of the qualifier ///
name string /// A with the name of the qualifier ///
Результат XmpNode

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

Removes the given node as child of the current instance
public RemoveChild ( XmpNode node ) : void
node XmpNode /// A to remove as child ///
Результат void

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

Renders the current instance as child of the given node to the given XmlNode
public RenderInto ( XmlNode parent ) : void
parent System.Xml.XmlNode /// A to render the current instance as child of. ///
Результат void

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

Constructor.
public XmpNode ( string ns, string name ) : System
ns string /// A with the namespace of the new instance. ///
name string /// A with the name of the new instance. ///
Результат System

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

Constructor.
public XmpNode ( string ns, string name, string value ) : System
ns string /// A with the namespace of the new instance. ///
name string /// A with the name of the new instance. ///
value string /// A with the txt value of the new instance. ///
Результат System