C# 클래스 Bamboo.Prevalence.XPath.XPathObjectNavigator

XPathNavigator implementation over an arbitrary object graph.
상속: System.Xml.XPath.XPathNavigator
파일 보기 프로젝트 열기: bamboo/Bamboo.Prevalence 1 사용 예제들

공개 메소드들

메소드 설명
Clone ( ) : XPathNavigator

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

GetAttribute ( string localName, string namespaceURI ) : string

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

No attributes are returned.

GetNamespace ( string name ) : string

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

Namespace is always empty

IsSamePosition ( System other ) : bool

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

MoveTo ( System 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.

Not supported.

MoveToFirstAttribute ( ) : bool

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

MoveToFirstChild ( ) : bool

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

MoveToFirstNamespace ( System namespaceScope ) : bool

See System.Xml.XPath.XPathNavigator.MoveToFirstNamespace 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 ( System namespaceScope ) : bool

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

MoveToParent ( ) : bool

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

MoveToPrevious ( ) : bool

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

Not supported.

MoveToRoot ( ) : void

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

SelectObject ( string xpath ) : object

Selects a single object from the current node.

SelectObjects ( string xpath, Type returnItemType ) : Array

Selects a group of objects from the current node.

SelectObjects ( string xpath ) : object[]

Same as SelectObjects(System.String, System.Type) with returnItemType iguals to typeof(object).

XPathObjectNavigator ( XPathObjectNavigator other ) : System

copy constructor.

XPathObjectNavigator ( object node ) : System

Create a new navigator for the object graph starting at node. The node name will be node.GetType().Name.

XPathObjectNavigator ( object node, string nodeName ) : System

Create a new navigator for the object graph starting at node. The node's name is nodeName.

비공개 메소드들

메소드 설명
Trace ( string format ) : void

메소드 상세

Clone() 공개 메소드

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

GetAttribute() 공개 메소드

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

GetNamespace() 공개 메소드

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

IsSamePosition() 공개 메소드

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

MoveTo() 공개 메소드

See System.Xml.XPath.XPathNavigator.MoveTo for details.
public MoveTo ( System other ) : bool
other System
리턴 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.
Not supported.
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 for details.
public MoveToFirstNamespace ( System namespaceScope ) : bool
namespaceScope System
리턴 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 for details.
public MoveToNextNamespace ( System namespaceScope ) : bool
namespaceScope System
리턴 bool

MoveToParent() 공개 메소드

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

MoveToPrevious() 공개 메소드

See System.Xml.XPath.XPathNavigator.MoveToPrevious for details.
Not supported.
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 ) : object
xpath string selection expression
리턴 object

SelectObjects() 공개 메소드

Selects a group of objects from the current node.
public SelectObjects ( string xpath, Type returnItemType ) : Array
xpath string selection expression
returnItemType System.Type array element type to be returned
리턴 System.Array

SelectObjects() 공개 메소드

Same as SelectObjects(System.String, System.Type) with returnItemType iguals to typeof(object).
public SelectObjects ( string xpath ) : object[]
xpath string
리턴 object[]

XPathObjectNavigator() 공개 메소드

copy constructor.
public XPathObjectNavigator ( XPathObjectNavigator other ) : System
other XPathObjectNavigator navigator to be copied
리턴 System

XPathObjectNavigator() 공개 메소드

Create a new navigator for the object graph starting at node. The node name will be node.GetType().Name.
public XPathObjectNavigator ( object node ) : System
node object root
리턴 System

XPathObjectNavigator() 공개 메소드

Create a new navigator for the object graph starting at node. The node's name is nodeName.
public XPathObjectNavigator ( object node, string nodeName ) : System
node object root
nodeName string root's name
리턴 System