C# Class Mapsui.Providers.Wfs.Xml.XPathQueryManager.CustomQueryContext

This class represents a custom context for XPath queries. It is derived from XsltContext.
Inheritance: System.Xml.Xsl.XsltContext
Show file Open project: pauldendulk/Mapsui

Public Methods

Method Description
AddNamespace ( string>.IDictionary namespaces ) : void

This method adds a list of namespaces to use in the custom context.

AddParam ( DictionaryEntry parameters ) : void

This method adds a list of parameters to the custom context.

AddParam ( string name, object parameter ) : void

This method adds a parameter to the custom context.

CompareDocument ( string baseUri, string nextbaseUri ) : int

Method from XsltContext.

CustomQueryContext ( ) : System

Initializes a new instance of the CustomQueryContext class.

CustomQueryContext ( NameTable table ) : System

Initializes a new instance of the CustomQueryContext class.

GetParam ( string name ) : object

This method gets a parameter by name.

PreserveWhitespace ( XPathNavigator node ) : bool

Method from XsltContext.

RemoveParam ( string name ) : object

This method removes a parameter from the inherent parameter list.

ResetParams ( ) : void

This methods clears the inherent parameter list.

ResolveFunction ( string prefix, string name, XPathResultType argTypes ) : IXsltContextFunction

This method resolves a function appearing in an XPath expression.

ResolveVariable ( string prefix, string name ) : IXsltContextVariable

This method resolves a variable appearing in an XPath expression.

Method Details

AddNamespace() public method

This method adds a list of namespaces to use in the custom context.
public AddNamespace ( string>.IDictionary namespaces ) : void
namespaces string>.IDictionary A list of namespaces
return void

AddParam() public method

This method adds a list of parameters to the custom context.
public AddParam ( DictionaryEntry parameters ) : void
parameters System.Collections.DictionaryEntry A list of parameters
return void

AddParam() public method

This method adds a parameter to the custom context.
public AddParam ( string name, object parameter ) : void
name string The name of the parameter
parameter object The value of the parameter
return void

CompareDocument() public method

Method from XsltContext.
public CompareDocument ( string baseUri, string nextbaseUri ) : int
baseUri string
nextbaseUri string
return int

CustomQueryContext() public method

Initializes a new instance of the CustomQueryContext class.
public CustomQueryContext ( ) : System
return System

CustomQueryContext() public method

Initializes a new instance of the CustomQueryContext class.
public CustomQueryContext ( NameTable table ) : System
table System.Xml.NameTable A NameTable instance
return System

GetParam() public method

This method gets a parameter by name.
public GetParam ( string name ) : object
name string The name of the parameter
return object

PreserveWhitespace() public method

Method from XsltContext.
public PreserveWhitespace ( XPathNavigator node ) : bool
node System.Xml.XPath.XPathNavigator
return bool

RemoveParam() public method

This method removes a parameter from the inherent parameter list.
public RemoveParam ( string name ) : object
name string The name of the parameter
return object

ResetParams() public method

This methods clears the inherent parameter list.
public ResetParams ( ) : void
return void

ResolveFunction() public method

This method resolves a function appearing in an XPath expression.
public ResolveFunction ( string prefix, string name, XPathResultType argTypes ) : IXsltContextFunction
prefix string The prefix of the function
name string The name of the function
argTypes XPathResultType A list of argument types of the function
return IXsltContextFunction

ResolveVariable() public method

This method resolves a variable appearing in an XPath expression.
public ResolveVariable ( string prefix, string name ) : IXsltContextVariable
prefix string The prefix of the variable
name string The name of the variable
return IXsltContextVariable