C# 클래스 sdf.XPath.ObjectXPathNavigator

Implements XPathNavigator to navigate a graph of generic objects.
Note that object's properties and contents of some collections will be resolved only once during tree traversal. This means that if navigator has visited some object then it will remember the state of this object as it was on the moment of first visit. Any change to the object's state will be seen only to another navigator, either created after this change was made, or which simply was not visiting this object yet.
상속: System.Xml.XPath.XPathNavigator
파일 보기 프로젝트 열기: AndrewMayorov/ObjectXPathNavigator 1 사용 예제들

공개 메소드들

메소드 설명
Clone ( ) : XPathNavigator

See System.Xml.XPath.XPathNavigator.Clone for details.

ComparePosition ( XPathNavigator nav ) : XmlNodeOrder

See System.Xml.XPath.XPathNavigator.ComparePosition for details.

GetAttribute ( string localName, string namespaceURI ) : string

See System.Xml.XPath.XPathNavigator.GetAttribute(string, string) for details.

GetCurrentNodePath ( ) : string

Path of current node

GetNamespace ( string name ) : string

See System.Xml.XPath.XPathNavigator.GetNamespace(string) for details.

GetNavigationStack ( ) : string

Stack content in text format

IsSamePosition ( XPathNavigator other ) : bool

See System.Xml.XPath.XPathNavigator.IsSamePosition for details.

MoveTo ( XPathNavigator other ) : bool

See System.Xml.XPath.XPathNavigator.MoveTo for details.

MoveToAttribute ( string localName, string namespaceURI ) : bool

See System.Xml.XPath.XPathNavigator.MoveToAttribute for details.

MoveToFirst ( ) : bool

See System.Xml.XPath.XPathNavigator.MoveToFirst for details.

MoveToFirstAttribute ( ) : bool

See System.Xml.XPath.XPathNavigator.MoveToFirstAttribute for details.

MoveToFirstChild ( ) : bool

See System.Xml.XPath.XPathNavigator.MoveToFirstChild for details.

MoveToFirstNamespace ( XPathNamespaceScope namespaceScope ) : bool

See System.Xml.XPath.XPathNavigator.MoveToFirstNamespace(XPathNamespaceScope) for details.

MoveToId ( string id ) : bool

See System.Xml.XPath.XPathNavigator.MoveToId for details.

Not supported.

MoveToNamespace ( string name ) : bool

See System.Xml.XPath.XPathNavigator.MoveToNamespace(string) for details.

MoveToNext ( ) : bool

See System.Xml.XPath.XPathNavigator.MoveToNext() for details.

MoveToNextAttribute ( ) : bool

See System.Xml.XPath.XPathNavigator.MoveToNextAttribute for details.

MoveToNextNamespace ( XPathNamespaceScope namespaceScope ) : bool

See System.Xml.XPath.XPathNavigator.MoveToNextNamespace( XPathNamespaceScope ) for details.

MoveToParent ( ) : bool

See System.Xml.XPath.XPathNavigator.MoveToParent for details.

MoveToPrevious ( ) : bool

See System.Xml.XPath.XPathNavigator.MoveToPrevious for details.

MoveToRoot ( ) : void

See System.Xml.XPath.XPathNavigator.MoveToRoot for details.

SelectObject ( string xpath, IXmlNamespaceResolver nsResolver = null ) : object

Selects a single object from the current node.

SelectObjects ( string xpath, Type returnItemType, IXmlNamespaceResolver nsResolver = null ) : Array

Selects a group of objects from the current node.

SelectObjects ( string xpath, IXmlNamespaceResolver nsResolver = null ) : object[]

Selects a group of objects from the current node.

비공개 메소드들

메소드 설명
GetNonTransparentChild ( sdf.XPath.Node current, bool goForward ) : sdf.XPath.Node
GetNonTransparentParent ( sdf.XPath.Node node ) : sdf.XPath.Node
GetNonTransparentSibling ( sdf.XPath.Node current, bool goForward ) : sdf.XPath.Node
IsNodeXPathNavigable ( sdf.XPath.Node node ) : bool
MoveIntoNavigableNode ( sdf.XPath.Node node ) : bool
ObjectXPathNavigator ( ObjectXPathNavigator other ) : System

Creates a new navigator positioned at the same node as other navigator.

ObjectXPathNavigator ( object obj, ObjectXPathContext context ) : System
Trace ( Func message ) : void
Trace ( string method ) : void

메소드 상세

Clone() 공개 메소드

See System.Xml.XPath.XPathNavigator.Clone for details.
public Clone ( ) : XPathNavigator
리턴 System.Xml.XPath.XPathNavigator

ComparePosition() 공개 메소드

See System.Xml.XPath.XPathNavigator.ComparePosition for details.
public ComparePosition ( XPathNavigator nav ) : XmlNodeOrder
nav System.Xml.XPath.XPathNavigator
리턴 XmlNodeOrder

GetAttribute() 공개 메소드

See System.Xml.XPath.XPathNavigator.GetAttribute(string, string) for details.
public GetAttribute ( string localName, string namespaceURI ) : string
localName string
namespaceURI string
리턴 string

GetCurrentNodePath() 공개 메소드

Path of current node
public GetCurrentNodePath ( ) : string
리턴 string

GetNamespace() 공개 메소드

See System.Xml.XPath.XPathNavigator.GetNamespace(string) for details.
public GetNamespace ( string name ) : string
name string
리턴 string

GetNavigationStack() 공개 메소드

Stack content in text format
public GetNavigationStack ( ) : string
리턴 string

IsSamePosition() 공개 메소드

See System.Xml.XPath.XPathNavigator.IsSamePosition for details.
public IsSamePosition ( XPathNavigator other ) : bool
other System.Xml.XPath.XPathNavigator
리턴 bool

MoveTo() 공개 메소드

See System.Xml.XPath.XPathNavigator.MoveTo for details.
public MoveTo ( XPathNavigator other ) : bool
other System.Xml.XPath.XPathNavigator
리턴 bool

MoveToAttribute() 공개 메소드

See System.Xml.XPath.XPathNavigator.MoveToAttribute for details.
public MoveToAttribute ( string localName, string namespaceURI ) : bool
localName string
namespaceURI string
리턴 bool

MoveToFirst() 공개 메소드

See System.Xml.XPath.XPathNavigator.MoveToFirst for details.
public MoveToFirst ( ) : bool
리턴 bool

MoveToFirstAttribute() 공개 메소드

See System.Xml.XPath.XPathNavigator.MoveToFirstAttribute for details.
public MoveToFirstAttribute ( ) : bool
리턴 bool

MoveToFirstChild() 공개 메소드

See System.Xml.XPath.XPathNavigator.MoveToFirstChild for details.
public MoveToFirstChild ( ) : bool
리턴 bool

MoveToFirstNamespace() 공개 메소드

See System.Xml.XPath.XPathNavigator.MoveToFirstNamespace(XPathNamespaceScope) for details.
public MoveToFirstNamespace ( XPathNamespaceScope namespaceScope ) : bool
namespaceScope XPathNamespaceScope
리턴 bool

MoveToId() 공개 메소드

See System.Xml.XPath.XPathNavigator.MoveToId for details.
Not supported.
public MoveToId ( string id ) : bool
id string
리턴 bool

MoveToNamespace() 공개 메소드

See System.Xml.XPath.XPathNavigator.MoveToNamespace(string) for details.
public MoveToNamespace ( string name ) : bool
name string
리턴 bool

MoveToNext() 공개 메소드

See System.Xml.XPath.XPathNavigator.MoveToNext() for details.
public MoveToNext ( ) : bool
리턴 bool

MoveToNextAttribute() 공개 메소드

See System.Xml.XPath.XPathNavigator.MoveToNextAttribute for details.
public MoveToNextAttribute ( ) : bool
리턴 bool

MoveToNextNamespace() 공개 메소드

See System.Xml.XPath.XPathNavigator.MoveToNextNamespace( XPathNamespaceScope ) for details.
public MoveToNextNamespace ( XPathNamespaceScope namespaceScope ) : bool
namespaceScope XPathNamespaceScope
리턴 bool

MoveToParent() 공개 메소드

See System.Xml.XPath.XPathNavigator.MoveToParent for details.
public MoveToParent ( ) : bool
리턴 bool

MoveToPrevious() 공개 메소드

See System.Xml.XPath.XPathNavigator.MoveToPrevious for details.
public MoveToPrevious ( ) : bool
리턴 bool

MoveToRoot() 공개 메소드

See System.Xml.XPath.XPathNavigator.MoveToRoot for details.
public MoveToRoot ( ) : void
리턴 void

SelectObject() 공개 메소드

Selects a single object from the current node.
public SelectObject ( string xpath, IXmlNamespaceResolver nsResolver = null ) : object
xpath string Selection expression.
nsResolver IXmlNamespaceResolver Optional namespace resolver.
리턴 object

SelectObjects() 공개 메소드

Selects a group of objects from the current node.
public SelectObjects ( string xpath, Type returnItemType, IXmlNamespaceResolver nsResolver = null ) : Array
xpath string Selection expression.
returnItemType System.Type Type of array elements to be returned.
nsResolver IXmlNamespaceResolver Optional namespace resolver.
리턴 System.Array

SelectObjects() 공개 메소드

Selects a group of objects from the current node.
public SelectObjects ( string xpath, IXmlNamespaceResolver nsResolver = null ) : object[]
xpath string Selection expression.
nsResolver IXmlNamespaceResolver Optional namespace resolver.
리턴 object[]