프로퍼티 | 타입 | 설명 | |
---|---|---|---|
AssertChildNotExisting | void | ||
AssertQualifierNotExisting | void | ||
DumpNode | void | ||
find |
메소드 | 설명 | |
---|---|---|
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
|
메소드 | 설명 | |
---|---|---|
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.
|
메소드 | 설명 | |
---|---|---|
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 ( 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 | |
리턴 | void |
public AddQualifier ( |
||
qualNode | a qualifier node. | |
리턴 | void |
public CloneSubtree ( |
||
destination | the node to add the cloned subtree | |
리턴 | void |
public DumpNode ( bool recursive ) : string | ||
recursive | bool | Flag is qualifier and child nodes shall be rendered too |
리턴 | string |
public FindChildByName ( string expr ) : |
||
expr | string | child node name to look for |
리턴 |
public FindQualifierByName ( string expr ) : |
||
expr | string | qualifier node name to look for |
리턴 |
public GetQualifier ( int index ) : |
||
index | int | an index [1..size] |
리턴 |
public RemoveChild ( |
||
node | the child node to delete. | |
리턴 | void |
public RemoveChild ( int itemIndex ) : void | ||
itemIndex | int | the index to remove [1..size] |
리턴 | void |
public RemoveQualifier ( |
||
qualNode | qualifier to remove | |
리턴 | 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 | |
리턴 | void |
public XmpNode ( string name, |
||
name | string | the name of the node |
options | the options of the node | |
리턴 | 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 | |
리턴 | System |