WockyNodeTree

## WockyNodeTree WockyNodeTree |

## Synopsis

                        WockyNodeTreeClass;
                        WockyNodeTreePrivate;
    WockyNodeTree *     wocky_node_tree_new                 (const gchar *name,
                                                             const gchar *ns,
                                                             ...);
    WockyNodeTree *     wocky_node_tree_new_va              (const gchar *name,
                                                             const char *ns,
                                                             va_list va);
    WockyNodeTree *     wocky_node_tree_new_from_node       (WockyNode *node);
    WockyNode *         wocky_node_tree_get_top_node        (WockyNodeTree *self);

## Description

## Details

### WockyNodeTreeClass

    typedef struct {
    } WockyNodeTreeClass;

The class of a WockyNodeTree.

### WockyNodeTreePrivate

    typedef struct _WockyNodeTreePrivate WockyNodeTreePrivate;

### wocky_node_tree_new ()

    WockyNodeTree *     wocky_node_tree_new                 (const gchar *name,
                                                             const gchar *ns,
                                                             ...);

Build a node-tree from a list of arguments. Example:

Example 2.

    1

`name` : | The name of the toplevel node
`ns` : | The namespace of the toplevel node
`...` : | the description of the node tree to build, terminated with `NULL`
Returns : | a new node-tree object

### wocky_node_tree_new_va ()

    WockyNodeTree *     wocky_node_tree_new_va              (const gchar *name,
                                                             const char *ns,
                                                             va_list va);

`name` : |
`ns` : |
`va` : |
Returns : |

### wocky_node_tree_new_from_node ()

    WockyNodeTree *     wocky_node_tree_new_from_node       (WockyNode *node);

Build a new WockyNodeTree that contains a copy of the given node.

`node` : | The node to copy
Returns : | a new node-tree object

### wocky_node_tree_get_top_node ()

    WockyNode *         wocky_node_tree_get_top_node        (WockyNodeTree *self);

`self` : |
Returns : |