Adds all the properties of a Element that match the criteria as children properties of the track element.
If the name of element
's ElementFactory is not in blacklist
, and the factory's
ELEMENT_METADATA_KLASS contains at least one member of wanted_categories
(e.g.
DECODER), then all the properties of element
that are also in whitelist
are added
as child properties of this using
add_child_property.
This is intended to be used by subclasses when constructing.
this | |
element |
The child object to retrieve properties from |
wanted_categories |
An array of element factory "klass" categories to whitelist, or null to accept all categories |
blacklist |
A blacklist of element factory names, or null to not blacklist any element factory |
whitelist |
A whitelist of element property names, or null to whitelist all writeable properties |