C# Class Terradue.OpenSearch.Client.OpenSearchClient

Show file Open project: Terradue/DotNetOpenSearchClient Class Usage Examples

Public Methods

Method Description
GetArgs ( string args ) : bool
Main ( string args ) : void
PrintUsage ( ) : void

Private Methods

Method Description
ConfigureLog ( ) : log4net.ILog
CountResults ( IOpenSearchResultCollection osr ) : int
InitCache ( ) : void
Initialize ( ) : void
InitializeOutputStream ( ) : Stream

Initializes the output stream.

InitializeUrl ( ) : List

Initializes the OpenSearch URL to query

ListFormat ( Stream outputStream ) : void
ListOpenSearchEngineExtensions ( ) : void
ListOutputFormat ( ) : void
LoadOpenSearchEngineExtensions ( OpenSearchEngine ose ) : void
OutputResult ( IOpenSearchResultCollection osr, Stream outputStream ) : void
PrepareDataModelParameters ( ) : NameValueCollection
PrepareQueryParameters ( IOpenSearchable entity ) : NameValueCollection
PrepareQueryUrl ( Uri baseUrl, NameValueCollection parametersNvc ) : Uri

Prepares the query URL.

PrintDataModelHelp ( DataModel dataModel ) : void
ProcessQuery ( Stream outputStream = null ) : void
QueryOpenSearch ( OpenSearchEngine ose, IOpenSearchable entity, NameValueCollection parameters ) : IOpenSearchResultCollection
ResolveParameters ( NameValueCollection nameValueCollection, IOpenSearchable entity ) : NameValueCollection
SerializeXmlDocument ( XmlDocument xmlDocument, Stream outputStream ) : void

Method Details

GetArgs() public static method

public static GetArgs ( string args ) : bool
args string
return bool

Main() public static method

public static Main ( string args ) : void
args string
return void

PrintUsage() public static method

public static PrintUsage ( ) : void
return void