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

This class performs a string comparison in an XPath expression.
Inheritance: ParamBase, IXsltContextFunction
Show file Open project: pauldendulk/Mapsui

Public Properties

Property Type Description
FunctionName string

Public Methods

Method Description
Invoke ( XsltContext xsltContext, object args, XPathNavigator docContext ) : object

This method performs a string comparison.

ParamCompare ( XPathResultType argTypes, int minArgs, int maxArgs ) : System

Initializes a new instance of the ParamCompare class.

Protected Methods

Method Description
ResolveArgument ( object arg ) : string

This method creates a string from an object argument. In many cases the argument is an XPathNodeIterator that must be resolved.

Private Methods

Method Description
ResolveNsPrefix ( string args, XsltContext xsltContext ) : string

This method resolves the prefix of an argument. If a prefix is found, the corresponding namespace URI is looked up and substituted.

Method Details

Invoke() public method

This method performs a string comparison.
public Invoke ( XsltContext xsltContext, object args, XPathNavigator docContext ) : object
xsltContext System.Xml.Xsl.XsltContext The Xslt context
args object The arguments of the function
docContext System.Xml.XPath.XPathNavigator The document context
return object

ParamCompare() public method

Initializes a new instance of the ParamCompare class.
public ParamCompare ( XPathResultType argTypes, int minArgs, int maxArgs ) : System
argTypes XPathResultType The argument types of the function
minArgs int The minimum number of arguments allowed
maxArgs int The maximum number of arguments allowed
return System

ResolveArgument() protected method

This method creates a string from an object argument. In many cases the argument is an XPathNodeIterator that must be resolved.
protected ResolveArgument ( object arg ) : string
arg object An argument of the function to be resolved
return string

Property Details

FunctionName public static property

The name to use when embedding the function in an XPath expression.
public static string FunctionName
return string