Class XPathQueryManagerDecoratorBase
This class should be the base class of all decorators for classes implementing IXPathQueryManager.
Inherited Members
Namespace: Mapsui.Providers.Wfs.Xml
Assembly: Mapsui.Nts.dll
Syntax
public abstract class XPathQueryManagerDecoratorBase
Constructors
| Edit this page View SourceXPathQueryManagerDecoratorBase(IXPathQueryManager)
Protected constructor for the abstract class.
Declaration
protected XPathQueryManagerDecoratorBase(IXPathQueryManager xPathQueryManager)
Parameters
| Type | Name | Description |
|---|---|---|
| IXPathQueryManager | xPathQueryManager | An instance implementing IXPathQueryManager to operate on |
Fields
| Edit this page View SourceXPathQueryManager
Declaration
protected IXPathQueryManager XPathQueryManager
Field Value
| Type | Description |
|---|---|
| IXPathQueryManager |
Methods
| Edit this page View SourceAddNamespace(string, string)
This method invokes the corresponding method of the inherent IXPathQueryManager instance.
Declaration
public virtual void AddNamespace(string prefix, string ns)
Parameters
| Type | Name | Description |
|---|---|---|
| string | prefix | A namespace prefix |
| string | ns | A namespace URI |
Clone()
This method must be implemented specifically in each decorator.
Declaration
public abstract IXPathQueryManager Clone()
Returns
| Type | Description |
|---|---|
| IXPathQueryManager |
Compile(string)
This method invokes the corresponding method of the inherent IXPathQueryManager instance.
Declaration
public virtual XPathExpression? Compile(string xPath)
Parameters
| Type | Name | Description |
|---|---|---|
| string | xPath | An XPath string |
Returns
| Type | Description |
|---|---|
| XPathExpression | A compiled XPath expression |
GetIterator(XPathExpression?)
This method invokes the corresponding method of the inherent IXPathQueryManager instance.
Declaration
public virtual XPathNodeIterator? GetIterator(XPathExpression? xPath)
Parameters
| Type | Name | Description |
|---|---|---|
| XPathExpression | xPath | A compiled XPath expression |
Returns
| Type | Description |
|---|---|
| XPathNodeIterator |
GetIterator(XPathExpression, DictionaryEntry[])
This method invokes the corresponding method of the inherent IXPathQueryManager instance.
Declaration
public virtual XPathNodeIterator? GetIterator(XPathExpression xPath, DictionaryEntry[] queryParameters)
Parameters
| Type | Name | Description |
|---|---|---|
| XPathExpression | xPath | A compiled XPath expression |
| DictionaryEntry[] | queryParameters | Parameters for the compiled XPath expression |
Returns
| Type | Description |
|---|---|
| XPathNodeIterator |
GetValueFromNode(XPathExpression?, DictionaryEntry[]?)
This method invokes the corresponding method of the inherent IXPathQueryManager instance.
Declaration
public virtual string? GetValueFromNode(XPathExpression? xPath, DictionaryEntry[]? queryParameters = null)
Parameters
| Type | Name | Description |
|---|---|---|
| XPathExpression | xPath | A compiled XPath expression |
| DictionaryEntry[] | queryParameters | Parameters for the compiled XPath expression |
Returns
| Type | Description |
|---|---|
| string |
GetXPathQueryManagerInContext(XPathExpression, DictionaryEntry[]?)
This method must be implemented specifically in each decorator.
Declaration
public abstract IXPathQueryManager? GetXPathQueryManagerInContext(XPathExpression xPath, DictionaryEntry[]? queryParameters = null)
Parameters
| Type | Name | Description |
|---|---|---|
| XPathExpression | xPath | A compiled XPath expression |
| DictionaryEntry[] | queryParameters | Parameters for the compiled XPath expression |
Returns
| Type | Description |
|---|---|
| IXPathQueryManager |
ResetNamespaces()
This method invokes the corresponding method of the inherent IXPathQueryManager instance.
Declaration
public virtual void ResetNamespaces()
SetDocumentToParse(Stream)
This method invokes the corresponding method of the inherent IXPathQueryManager instance.
Declaration
public virtual void SetDocumentToParse(Stream documentStream)
Parameters
| Type | Name | Description |
|---|---|---|
| Stream | documentStream | A Stream with XML data |
SetDocumentToParseAsync(HttpClientUtil)
This method invokes the corresponding method of the inherent IXPathQueryManager instance.
Declaration
public virtual Task SetDocumentToParseAsync(HttpClientUtil httpClientUtil)
Parameters
| Type | Name | Description |
|---|---|---|
| HttpClientUtil | httpClientUtil | A configured HttpClientUtil instance for performing web requests |
Returns
| Type | Description |
|---|---|
| Task | Task |