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
파일 보기 프로젝트 열기: gbarnett/shared-source-cli-2.0 1 사용 예제들

공개 메소드들

메소드 설명
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