C# Class System.Xml.Xsl.Runtime.XmlNavNeverFilter

Never filter nodes.
Inheritance: XmlNavigatorFilter
Afficher le fichier Open project: gbarnett/shared-source-cli-2.0 Class Usage Examples

Méthodes publiques

Méthode Description
Create ( ) : XmlNavigatorFilter

Return a singleton XmlNavigatorFilter that never filters any nodes.

IsFiltered ( XPathNavigator navigator ) : bool

Nodes are never filtered so always return false.

MoveToContent ( XPathNavigator navigator ) : bool

Reposition the navigator on the first child (attribute or non-attribute).

MoveToFirstAttributeContent ( XPathNavigator navigator ) : bool

Move to navigator's first attribute node. If no attribute's exist, move to the first content node. If no content nodes exist, return null. Otherwise, return navigator.

MoveToFollowing ( XPathNavigator navigator, XPathNavigator navEnd ) : bool

Reposition the navigator on the next following node.

MoveToFollowingSibling ( XPathNavigator navigator ) : bool

Reposition the navigator on the next sibling (no attributes).

MoveToNextAttributeContent ( XPathNavigator navigator ) : bool

If navigator is positioned on an attribute, move to the next attribute node. If there are no more attributes, move to the first content node. If navigator is positioned on a content node, move to the next content node. If there are no more attributes and content nodes, return null. Otherwise, return navigator.

MoveToNextContent ( XPathNavigator navigator ) : bool

Reposition the navigator on the next child (attribute or non-attribute).

MoveToPreviousSibling ( XPathNavigator navigator ) : bool

Reposition the navigator on the previous sibling (no attributes).

Private Methods

Méthode Description
XmlNavNeverFilter ( ) : System.Xml

Constructor.

Method Details

Create() public static méthode

Return a singleton XmlNavigatorFilter that never filters any nodes.
public static Create ( ) : XmlNavigatorFilter
Résultat XmlNavigatorFilter

IsFiltered() public méthode

Nodes are never filtered so always return false.
public IsFiltered ( XPathNavigator navigator ) : bool
navigator System.Xml.XPath.XPathNavigator
Résultat bool

MoveToContent() public méthode

Reposition the navigator on the first child (attribute or non-attribute).
public MoveToContent ( XPathNavigator navigator ) : bool
navigator System.Xml.XPath.XPathNavigator
Résultat bool

MoveToFirstAttributeContent() public static méthode

Move to navigator's first attribute node. If no attribute's exist, move to the first content node. If no content nodes exist, return null. Otherwise, return navigator.
public static MoveToFirstAttributeContent ( XPathNavigator navigator ) : bool
navigator System.Xml.XPath.XPathNavigator
Résultat bool

MoveToFollowing() public méthode

Reposition the navigator on the next following node.
public MoveToFollowing ( XPathNavigator navigator, XPathNavigator navEnd ) : bool
navigator System.Xml.XPath.XPathNavigator
navEnd System.Xml.XPath.XPathNavigator
Résultat bool

MoveToFollowingSibling() public méthode

Reposition the navigator on the next sibling (no attributes).
public MoveToFollowingSibling ( XPathNavigator navigator ) : bool
navigator System.Xml.XPath.XPathNavigator
Résultat bool

MoveToNextAttributeContent() public static méthode

If navigator is positioned on an attribute, move to the next attribute node. If there are no more attributes, move to the first content node. If navigator is positioned on a content node, move to the next content node. If there are no more attributes and content nodes, return null. Otherwise, return navigator.
public static MoveToNextAttributeContent ( XPathNavigator navigator ) : bool
navigator System.Xml.XPath.XPathNavigator
Résultat bool

MoveToNextContent() public méthode

Reposition the navigator on the next child (attribute or non-attribute).
public MoveToNextContent ( XPathNavigator navigator ) : bool
navigator System.Xml.XPath.XPathNavigator
Résultat bool

MoveToPreviousSibling() public méthode

Reposition the navigator on the previous sibling (no attributes).
public MoveToPreviousSibling ( XPathNavigator navigator ) : bool
navigator System.Xml.XPath.XPathNavigator
Résultat bool