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

Never filter nodes.
Inheritance: XmlNavigatorFilter
ファイルを表示 Open project: gbarnett/shared-source-cli-2.0 Class Usage Examples

Public Methods

Method 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

Method Description
XmlNavNeverFilter ( ) : System.Xml

Constructor.

Method Details

Create() public static method

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

IsFiltered() public method

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

MoveToContent() public method

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

MoveToFirstAttributeContent() public static method

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
return bool

MoveToFollowing() public method

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
return bool

MoveToFollowingSibling() public method

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

MoveToNextAttributeContent() public static method

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
return bool

MoveToNextContent() public method

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

MoveToPreviousSibling() public method

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