C# Class TagLib.Xmp.XmpNode

An XmpNode represents a node in the XMP document. This is any valid XMP element.
ファイルを表示 Open project: rubenv/tripod Class Usage Examples

Private Properties

Property Type Description
AddAllChildrenTo void
AddAllQualifiersTo void
Dump void

Public Methods

Method Description
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.

Private Methods

Method Description
AddAllChildrenTo ( XmlNode parent ) : void
AddAllQualifiersTo ( XmlNode xml ) : void
Dump ( string prefix ) : void

Method Details

Accept() public method

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. ///
return void

AddChild() public method

Adds a node as child of the current node
public AddChild ( XmpNode node ) : void
node XmpNode /// A to be add as child ///
return void

AddQualifier() public method

Adds a node as qualifier of the current instance
public AddQualifier ( XmpNode node ) : void
node XmpNode /// A to add as qualifier ///
return void

Dump() public method

Print a debug output of the node.
public Dump ( ) : void
return void

GetChild() public method

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. ///
return XmpNode

GetQualifier() public method

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 ///
return XmpNode

RemoveChild() public method

Removes the given node as child of the current instance
public RemoveChild ( XmpNode node ) : void
node XmpNode /// A to remove as child ///
return void

RenderInto() public method

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. ///
return void

XmpNode() public method

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. ///
return System

XmpNode() public method

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. ///
return System