GXml.BaseCollection.initialize_element – GXml-0.20 – Vala Binding Reference

GXml.BaseCollection.initialize_element – GXml-0.20 Reference Manual

# initialize_element

## Description:

public void initialize_element (Element e) throws Error

Initialize an Collection to use an element as children's parent. Searches for all nodes, calling Collection.search with Collection.items_type, using its DomElement.local_name to find it.

Implementation classes, should initialize collection to hold a GXml.Element derived type using Collection.initialize.