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

Index table for XPathNavigator.
Afficher le fichier Open project: Monobjc/monobjc-tools

Méthodes publiques

Méthode 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

Méthode Description
AddNodeToIndex ( XPathNavigator node, string key ) : void

Adds node to the index slot according to key value.

Method Details

AddKey() public méthode

Adds a key.
public AddKey ( KeyDef key ) : void
key KeyDef Key definition
Résultat void

GetNodes() public méthode

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

MatchNode() public méthode

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
Résultat void

XPathNavigatorIndex() public méthode

Creates index over specified XPathNavigator.
public XPathNavigatorIndex ( ) : System
Résultat System