Property | Type | Description | |
---|---|---|---|
AssertChildNotExisting | void | ||
AssertQualifierNotExisting | void | ||
DumpNode | void | ||
find |
Method | Description | |
---|---|---|
AddChild ( |
Adds a node as child to this node.
|
|
AddChild ( int index, |
Adds a node as child to this node.
|
|
AddQualifier ( |
Appends a qualifier to the qualifier list and sets respective options.
|
|
Clear ( ) : void |
Resets the node.
|
|
Clone ( ) : object |
Performs a deep clone of the node and the complete subtree.
|
|
CloneSubtree ( |
Performs a deep clone of the complete subtree (children and qualifier )into and add it to the destination node.
|
|
CompareTo ( object xmpNode ) : int | ||
DumpNode ( bool recursive ) : string |
Renders this node and the tree unter this node in a human readable form.
|
|
FindChildByName ( string expr ) : |
||
FindQualifierByName ( string expr ) : |
||
GetChild ( int index ) : |
||
GetQualifier ( int index ) : |
||
HasChildren ( ) : bool | ||
HasQualifier ( ) : bool | ||
IterateChildren ( ) : IEnumerator | ||
IterateQualifier ( ) : IEnumerator | ||
RemoveChild ( |
Removes a child node. If its a schema node and doesn't have any children anymore, its deleted.
|
|
RemoveChild ( int itemIndex ) : void |
Removes a child at the requested index.
|
|
RemoveChildren ( ) : void |
Removes all children from the node.
|
|
RemoveQualifier ( |
Removes one qualifier node and fixes the options.
|
|
RemoveQualifiers ( ) : void |
Removes all qualifiers from the node and sets the options appropriate.
|
|
ReplaceChild ( int index, |
Replaces a node with another one.
|
|
Sort ( ) : void |
Sorts the complete datamodel according to the following rules:
|
|
XmpNode ( string name, |
Constructor for the node without value.
|
|
XmpNode ( string name, string value, |
Creates an
|
Method | Description | |
---|---|---|
CleanupChildren ( ) : void |
Removes the children list if this node has no children anymore; checks if the provided node is a schema node and doesn't have any children anymore, its deleted.
|
Method | Description | |
---|---|---|
AssertChildNotExisting ( string childName ) : void |
Checks that a node name is not existing on the same level, except for array items.
|
|
AssertQualifierNotExisting ( string qualifierName ) : void |
Checks that a qualifier name is not existing on the same level.
|
|
DumpNode ( StringBuilder result, bool recursive, int indent, int index ) : void |
Dumps this node and its qualifier and children recursively. Note: It creats empty options on every node.
|
|
find ( IList list, string expr ) : |
Internal find.
|
public AddChild ( |
||
node | an XMPNode | |
return | void |
public AddChild ( int index, |
||
index | int | the index of the node before which the new one is inserted. /// Note: The node children are indexed from [1..size]! /// An index of size + 1 appends a node. |
node | an XMPNode | |
return | void |
public AddQualifier ( |
||
qualNode | a qualifier node. | |
return | void |
public CloneSubtree ( |
||
destination | the node to add the cloned subtree | |
return | void |
public DumpNode ( bool recursive ) : string | ||
recursive | bool | Flag is qualifier and child nodes shall be rendered too |
return | string |
public FindChildByName ( string expr ) : |
||
expr | string | child node name to look for |
return |
public FindQualifierByName ( string expr ) : |
||
expr | string | qualifier node name to look for |
return |
public GetChild ( int index ) : |
||
index | int | an index [1..size] |
return |
public GetQualifier ( int index ) : |
||
index | int | an index [1..size] |
return |
public RemoveChild ( |
||
node | the child node to delete. | |
return | void |
public RemoveChild ( int itemIndex ) : void | ||
itemIndex | int | the index to remove [1..size] |
return | void |
public RemoveQualifier ( |
||
qualNode | qualifier to remove | |
return | void |
public ReplaceChild ( int index, |
||
index | int | the index of the node that will be replaced. /// Note: The node children are indexed from [1..size]! |
node | the replacement XMPNode | |
return | void |
public XmpNode ( string name, |
||
name | string | the name of the node |
options | the options of the node | |
return | System |
public XmpNode ( string name, string value, |
||
name | string | the name of the node |
value | string | the value of the node |
options | the options of the node | |
return | System |