Parses any AppStream metadata into one or more Component instances.
An instance of Metadata.
Metadata describing one or more software components.
The format of the data (XML or YAML).
true on success.