C# Класс System.Xml.Xsl.Runtime.RtfNavigator

RtfNavigators store Xslt result-tree-fragments. At runtime, the Xslt library tests to see if a Navigator is an RtfNavigator in order to enforce certain restrictions, such as prohibiting querying into Rtfs. Furthermore, Rtfs must store extra serialization information required in order to properly implement the Xslt disable-output-escaping flag.
Наследование: System.Xml.XPath.XPathNavigator
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
CopyToWriter ( XmlWriter writer ) : void

Preserve serialization hints when deep copying.

IsSamePosition ( XPathNavigator other ) : bool

Returns true if this navigator is positioned to the same node as the "other" navigator. Returns false if not, or if the "other" navigator is not the same type as this navigator.

MoveToFirstAttribute ( ) : bool

Position the navigator on the first attribute of the current node and return true. If no attributes can be found, return false.

MoveToFirstChild ( ) : bool

Move to the first content-typed child of the current node. Return false if the current node has no content children.

MoveToFirstNamespace ( XPathNamespaceScope namespaceScope ) : bool

Position the navigator on the namespace within the specified scope. If no matching namespace can be found, return false.

MoveToId ( string id ) : bool

Position to the navigator to the element whose id is equal to the specified "id" string.

MoveToNext ( ) : bool

If the current node is an attribute or namespace (not content), return false. Otherwise, move to the next content node. Return false if there are no more content nodes.

MoveToNextAttribute ( ) : bool

If positioned on an attribute, move to its next sibling attribute. If no attributes can be found, return false.

MoveToNextNamespace ( XPathNamespaceScope namespaceScope ) : bool

Position the navigator on the next namespace within the specified scope. If no matching namespace can be found, return false.

MoveToParent ( ) : bool

Position the navigator on the parent of the current node. If the current node has no parent, return false.

MoveToPrevious ( ) : bool

If the current node is an attribute or namespace (not content), return false. Otherwise, move to the previous (sibling) content node. Return false if there are no previous content nodes.

ToNavigator ( ) : XPathNavigator

Discard serialization hints and return a navigator that actually allows navigation.

Описание методов

CopyToWriter() публичный абстрактный Метод

Preserve serialization hints when deep copying.
public abstract CopyToWriter ( XmlWriter writer ) : void
writer System.Xml.XmlWriter
Результат void

IsSamePosition() публичный Метод

Returns true if this navigator is positioned to the same node as the "other" navigator. Returns false if not, or if the "other" navigator is not the same type as this navigator.
public IsSamePosition ( XPathNavigator other ) : bool
other System.Xml.XPath.XPathNavigator
Результат bool

MoveToFirstAttribute() публичный Метод

Position the navigator on the first attribute of the current node and return true. If no attributes can be found, return false.
public MoveToFirstAttribute ( ) : bool
Результат bool

MoveToFirstChild() публичный Метод

Move to the first content-typed child of the current node. Return false if the current node has no content children.
public MoveToFirstChild ( ) : bool
Результат bool

MoveToFirstNamespace() публичный Метод

Position the navigator on the namespace within the specified scope. If no matching namespace can be found, return false.
public MoveToFirstNamespace ( XPathNamespaceScope namespaceScope ) : bool
namespaceScope XPathNamespaceScope
Результат bool

MoveToId() публичный Метод

Position to the navigator to the element whose id is equal to the specified "id" string.
public MoveToId ( string id ) : bool
id string
Результат bool

MoveToNext() публичный Метод

If the current node is an attribute or namespace (not content), return false. Otherwise, move to the next content node. Return false if there are no more content nodes.
public MoveToNext ( ) : bool
Результат bool

MoveToNextAttribute() публичный Метод

If positioned on an attribute, move to its next sibling attribute. If no attributes can be found, return false.
public MoveToNextAttribute ( ) : bool
Результат bool

MoveToNextNamespace() публичный Метод

Position the navigator on the next namespace within the specified scope. If no matching namespace can be found, return false.
public MoveToNextNamespace ( XPathNamespaceScope namespaceScope ) : bool
namespaceScope XPathNamespaceScope
Результат bool

MoveToParent() публичный Метод

Position the navigator on the parent of the current node. If the current node has no parent, return false.
public MoveToParent ( ) : bool
Результат bool

MoveToPrevious() публичный Метод

If the current node is an attribute or namespace (not content), return false. Otherwise, move to the previous (sibling) content node. Return false if there are no previous content nodes.
public MoveToPrevious ( ) : bool
Результат bool

ToNavigator() публичный абстрактный Метод

Discard serialization hints and return a navigator that actually allows navigation.
public abstract ToNavigator ( ) : XPathNavigator
Результат System.Xml.XPath.XPathNavigator