Class XPathQueryManagerDecoratorBase
This class should be the base class of all decorators for classes implementing IXPathQueryManager.
Inheritance
Namespace: Mapsui.Providers.Wfs.Xml
Assembly: Mapsui.Desktop.dll
Syntax
public abstract class XPathQueryManagerDecoratorBase : object
Constructors
| Improve this Doc 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
| Improve this Doc View SourceXPathQueryManager
Declaration
protected IXPathQueryManager XPathQueryManager
Field Value
Type | Description |
---|---|
IXPathQueryManager |
Methods
| Improve this Doc 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 |
---|---|---|
System.String | prefix | A namespace prefix |
System.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 |
---|---|---|
System.String | xPath | An XPath string |
Returns
Type | Description |
---|---|
XPathExpression | A compiled XPath expression |
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 |
---|---|
System.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(HttpClientUtil)
This method invokes the corresponding method of the inherent IXPathQueryManager instance.
Declaration
public virtual void SetDocumentToParse(HttpClientUtil httpClientUtil)
Parameters
Type | Name | Description |
---|---|---|
HttpClientUtil | httpClientUtil | A configured HttpClientUtil instance for performing web requests |
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 |