C# Class Terradue.OpenSearch.GenericOpenSearchable

Generic class to represent any OpenSearchable entity
Inheritance: IOpenSearchable
Mostra file Open project: Terradue/DotNetOpenSearch Class Usage Examples

Protected Properties

Property Type Description
osd Terradue.OpenSearch.Schema.OpenSearchDescription
ose Terradue.OpenSearch.Engine.OpenSearchEngine
url OpenSearchUrl

Public Methods

Method Description
ApplyResultFilters ( OpenSearchRequest request, IOpenSearchResultCollection &osr, string finalContentType ) : void
Create ( QuerySettings querySettings, NameValueCollection parameters ) : OpenSearchRequest
GenericOpenSearchable ( OpenSearchDescription osd, OpenSearchEngine ose ) : System

Initializes a new instance of the Terradue.OpenSearch.GenericOpenSearchable class from an OpenSearchDescription.

GenericOpenSearchable ( OpenSearchUrl url, OpenSearchEngine ose ) : System

Initializes a new instance of the Terradue.OpenSearch.GenericOpenSearchable class from a quaery Url

GetOpenSearchDescription ( ) : OpenSearchDescription
GetOpenSearchParameters ( string mimeType ) : NameValueCollection
GetQuerySettings ( OpenSearchEngine ose ) : QuerySettings

Method Details

ApplyResultFilters() public method

public ApplyResultFilters ( OpenSearchRequest request, IOpenSearchResultCollection &osr, string finalContentType ) : void
request Terradue.OpenSearch.Request.OpenSearchRequest
osr IOpenSearchResultCollection
finalContentType string
return void

Create() public method

public Create ( QuerySettings querySettings, NameValueCollection parameters ) : OpenSearchRequest
querySettings QuerySettings
parameters System.Collections.Specialized.NameValueCollection
return Terradue.OpenSearch.Request.OpenSearchRequest

GenericOpenSearchable() public method

Initializes a new instance of the Terradue.OpenSearch.GenericOpenSearchable class from an OpenSearchDescription.
public GenericOpenSearchable ( OpenSearchDescription osd, OpenSearchEngine ose ) : System
osd Terradue.OpenSearch.Schema.OpenSearchDescription The OpenSearchDescription describing the OpenSearchable entity to represent
ose Terradue.OpenSearch.Engine.OpenSearchEngine An OpenSearchEngine instance, preferably with registered extensions able to read the query url
return System

GenericOpenSearchable() public method

Initializes a new instance of the Terradue.OpenSearch.GenericOpenSearchable class from a quaery Url
public GenericOpenSearchable ( OpenSearchUrl url, OpenSearchEngine ose ) : System
url OpenSearchUrl The query URL
ose Terradue.OpenSearch.Engine.OpenSearchEngine An OpenSearchEngine instance, preferably with registered extensions able to read the query url
return System

GetOpenSearchDescription() public method

public GetOpenSearchDescription ( ) : OpenSearchDescription
return Terradue.OpenSearch.Schema.OpenSearchDescription

GetOpenSearchParameters() public method

public GetOpenSearchParameters ( string mimeType ) : NameValueCollection
mimeType string
return System.Collections.Specialized.NameValueCollection

GetQuerySettings() public method

public GetQuerySettings ( OpenSearchEngine ose ) : QuerySettings
ose Terradue.OpenSearch.Engine.OpenSearchEngine
return QuerySettings

Property Details

osd protected_oe property

protected OpenSearchDescription,Terradue.OpenSearch.Schema osd
return Terradue.OpenSearch.Schema.OpenSearchDescription

ose protected_oe property

protected OpenSearchEngine,Terradue.OpenSearch.Engine ose
return Terradue.OpenSearch.Engine.OpenSearchEngine

url protected_oe property

protected OpenSearchUrl,Terradue.OpenSearch url
return OpenSearchUrl