XmlConfigurationReader

class kanzi::connect::XmlConfigurationReader

A class that reads adapter configuration from xml file.

Public Functions

XmlConfigurationReader()

Constructor.

const string &getPrivateData() const

Returns private data found while reading the configuration.

Return

A string containing the private data.

const string &getPrivateDataService() const

Returns private data service name found while reading the configuration.

Return

A string containing the name of the service for which the private data applies.

vector<ContentAdapterConfigurationSharedPtr> loadFromFile(kanzi::Domain *domain, kanzi::string_view filename, const string &declarationOverride)

Reads xml file and outputs a set of adapter configurations.

Return

A container of adapter configurations.

Parameters
  • domain: UI domain.

  • filename: File path to configuration xml file.