C# Class Mvp.Xml.Common.XPath.IndexingXPathNavigator.XPathNavigatorIndex

Index table for XPathNavigator.
Mostrar archivo Open project: Monobjc/monobjc-tools

Public Methods

Method Description
AddKey ( KeyDef key ) : void

Adds a key.

GetNodes ( object keyValue ) : XPathNodeIterator

Returns indexed nodes by a key value.

MatchNode ( XPathNavigator node ) : void

Matches given node against "match" pattern and adds it to the index table if the matching succeeded.

XPathNavigatorIndex ( ) : System

Creates index over specified XPathNavigator.

Private Methods

Method Description
AddNodeToIndex ( XPathNavigator node, string key ) : void

Adds node to the index slot according to key value.

Method Details

AddKey() public method

Adds a key.
public AddKey ( KeyDef key ) : void
key KeyDef Key definition
return void

GetNodes() public method

Returns indexed nodes by a key value.
public GetNodes ( object keyValue ) : XPathNodeIterator
keyValue object Key value
return System.Xml.XPath.XPathNodeIterator

MatchNode() public method

Matches given node against "match" pattern and adds it to the index table if the matching succeeded.
public MatchNode ( XPathNavigator node ) : void
node System.Xml.XPath.XPathNavigator Node to match
return void

XPathNavigatorIndex() public method

Creates index over specified XPathNavigator.
public XPathNavigatorIndex ( ) : System
return System