Class sap.ui.core.search.OpenSearchProviderModule: sap/ui/core/search/OpenSearchProvider
A SearchProvider which uses the OpenSearch protocol (either JSON or XML).
sClassName and enriches it with the information contained in oClassInfo. Accepts an object literal mSettings that defines initial property values, aggregated and associated objects as well as event handlers. See sap.ui.base.ManagedObject for a general description of the syntax of the settings object.
The supported settings are:
- Properties
- suggestUrl : sap.ui.core.URI
- suggestType : string (default: json)
In addition, all settings applicable to the base type sap.ui.core.search.SearchProvider can be used as well.
| {string} | sId? | id for the new control, generated automatically if no id is given |
| {object} | mSettings? | initial settings for the new control |
sClassName and enriches it with the information contained in oClassInfo. oClassInfo might contain the same kind of information as described in sap.ui.core.search.SearchProvider.extend.
| {string} | sClassName | Name of the class being created |
| {object} | oClassInfo? | Object literal with information about the class |
| {function} | FNMetaImpl? | Constructor function for the metadata object; if not given, it defaults to sap.ui.core.ElementMetadata |
| {function} | Created class / constructor function |
| {sap.ui.base.Metadata} | Metadata object describing this class |
suggestType. The type of data which is provided by the given suggestUrl: either 'json' or 'xml'.
Default value is json.
| {string} | Value of property suggestType |
suggestUrl. The URL for suggestions of the search provider. As placeholder for the concrete search queries '{searchTerms}' must be used. For cross domain requests maybe a proxy must be used.
| {sap.ui.core.URI} | Value of property suggestUrl |
suggestType. The type of data which is provided by the given suggestUrl: either 'json' or 'xml'.
When called with a value of null or undefined, the default value of the property will be restored.
Default value is json.
| {string} | sSuggestType | New value for property suggestType |
| {sap.ui.core.search.OpenSearchProvider} | Reference to this in order to allow method chaining |
suggestUrl. The URL for suggestions of the search provider. As placeholder for the concrete search queries '{searchTerms}' must be used. For cross domain requests maybe a proxy must be used.
When called with a value of null or undefined, the default value of the property will be restored.
| {sap.ui.core.URI} | sSuggestUrl | New value for property suggestUrl |
| {sap.ui.core.search.OpenSearchProvider} | Reference to this in order to allow method chaining |
| {string} | sValue | The value for which suggestions are requested. |
| {function} | fCallback | The callback function which is called when the suggestions are available. |