C# Класс System.Xml.XPath.XPathNavigator

Наследование: XPathItem, ICloneable, IXPathNavigable, IXmlNamespaceResolver
Показать файл Открыть проект Примеры использования класса

Private Properties

Свойство Тип Описание
BuildSubtree void
CompareSiblings XmlNodeOrder
CompileMatchPattern XPathExpression
CreateContextReader XmlReader
CreateReader XmlReader
GetContentKindMask int
GetDepth int
GetKindMask int
GetNamespaces System.Xml.XmlNamespaceManager
GetValidatingReader XmlReader
ICloneable object
IsText bool
IsValidChildType bool
IsValidSiblingType bool
MoveToNonDescendant bool
MoveToPrevious bool
MoveToPrevious bool

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

Метод Описание
AppendChild ( ) : XmlWriter
AppendChild ( XPathNavigator newChild ) : void
AppendChild ( XmlReader newChild ) : void
AppendChild ( string newChild ) : void
AppendChildElement ( string prefix, string localName, string namespaceURI, string value ) : void
CheckValidity ( XmlSchemaSet schemas, ValidationEventHandler validationEventHandler ) : bool
Clone ( ) : XPathNavigator
ComparePosition ( XPathNavigator nav ) : XmlNodeOrder
Compile ( string xpath ) : XPathExpression
CreateAttribute ( string prefix, string localName, string namespaceURI, string value ) : void
CreateAttributes ( ) : XmlWriter
CreateNavigator ( ) : XPathNavigator
DeleteRange ( XPathNavigator lastSiblingToDelete ) : void
DeleteSelf ( ) : void
Evaluate ( XPathExpression expr ) : object
Evaluate ( XPathExpression expr, XPathNodeIterator context ) : object
Evaluate ( string xpath ) : object
Evaluate ( string xpath, IXmlNamespaceResolver resolver ) : object
GetAttribute ( string localName, string namespaceURI ) : string
GetNamespace ( string name ) : string
GetNamespacesInScope ( XmlNamespaceScope scope ) : string>.IDictionary
InsertAfter ( ) : XmlWriter
InsertAfter ( XPathNavigator newSibling ) : void
InsertAfter ( XmlReader newSibling ) : void
InsertAfter ( string newSibling ) : void
InsertBefore ( ) : XmlWriter
InsertBefore ( XPathNavigator newSibling ) : void
InsertBefore ( XmlReader newSibling ) : void
InsertBefore ( string newSibling ) : void
InsertElementAfter ( string prefix, string localName, string namespaceURI, string value ) : void
InsertElementBefore ( string prefix, string localName, string namespaceURI, string value ) : void
IsDescendant ( XPathNavigator nav ) : bool
IsSamePosition ( XPathNavigator other ) : bool
LookupNamespace ( string prefix ) : string
LookupPrefix ( string namespaceURI ) : string
Matches ( XPathExpression expr ) : bool
Matches ( string xpath ) : bool
MoveTo ( XPathNavigator other ) : bool
MoveToAttribute ( string localName, string namespaceURI ) : bool
MoveToChild ( XPathNodeType type ) : bool
MoveToChild ( string localName, string namespaceURI ) : bool
MoveToFirst ( ) : bool
MoveToFirstAttribute ( ) : bool
MoveToFirstChild ( ) : bool
MoveToFirstNamespace ( ) : bool
MoveToFirstNamespace ( XPathNamespaceScope namespaceScope ) : bool
MoveToFollowing ( XPathNodeType type ) : bool
MoveToFollowing ( XPathNodeType type, XPathNavigator end ) : bool
MoveToFollowing ( string localName, string namespaceURI ) : bool
MoveToFollowing ( string localName, string namespaceURI, XPathNavigator end ) : bool
MoveToId ( string id ) : bool
MoveToNamespace ( string name ) : bool
MoveToNext ( ) : bool
MoveToNext ( XPathNodeType type ) : bool
MoveToNext ( string localName, string namespaceURI ) : bool
MoveToNextAttribute ( ) : bool
MoveToNextNamespace ( ) : bool
MoveToNextNamespace ( XPathNamespaceScope namespaceScope ) : bool
MoveToParent ( ) : bool
MoveToPrevious ( ) : bool
MoveToRoot ( ) : void
PrependChild ( ) : XmlWriter
PrependChild ( XPathNavigator newChild ) : void
PrependChild ( XmlReader newChild ) : void
PrependChild ( string newChild ) : void
PrependChildElement ( string prefix, string localName, string namespaceURI, string value ) : void
ReadSubtree ( ) : XmlReader
ReplaceRange ( XPathNavigator lastSiblingToReplace ) : XmlWriter
ReplaceSelf ( XPathNavigator newNode ) : void
ReplaceSelf ( XmlReader newNode ) : void
ReplaceSelf ( string newNode ) : void
Select ( XPathExpression expr ) : XPathNodeIterator
Select ( string xpath ) : XPathNodeIterator
Select ( string xpath, IXmlNamespaceResolver resolver ) : XPathNodeIterator
SelectAncestors ( XPathNodeType type, bool matchSelf ) : XPathNodeIterator
SelectAncestors ( string name, string namespaceURI, bool matchSelf ) : XPathNodeIterator
SelectChildren ( XPathNodeType type ) : XPathNodeIterator
SelectChildren ( string name, string namespaceURI ) : XPathNodeIterator
SelectDescendants ( XPathNodeType type, bool matchSelf ) : XPathNodeIterator
SelectDescendants ( string name, string namespaceURI, bool matchSelf ) : XPathNodeIterator
SelectSingleNode ( XPathExpression expression ) : XPathNavigator
SelectSingleNode ( string xpath ) : XPathNavigator
SelectSingleNode ( string xpath, IXmlNamespaceResolver resolver ) : XPathNavigator
SetTypedValue ( object typedValue ) : void
SetValue ( string value ) : void
ToString ( ) : string
ValueAs ( Type returnType, IXmlNamespaceResolver nsResolver ) : object
WriteSubtree ( XmlWriter writer ) : void

Приватные методы

Метод Описание
BuildSubtree ( XmlReader reader, XmlWriter writer ) : void
CompareSiblings ( XPathNavigator n1, XPathNavigator n2 ) : XmlNodeOrder
CompileMatchPattern ( string xpath ) : XPathExpression
CreateContextReader ( string xml, bool fromCurrentNode ) : XmlReader
CreateReader ( ) : XmlReader
GetContentKindMask ( XPathNodeType type ) : int
GetDepth ( XPathNavigator nav ) : int
GetKindMask ( XPathNodeType type ) : int
GetNamespaces ( IXmlNamespaceResolver resolver ) : XmlNamespaceManager
GetValidatingReader ( XmlReader reader, XmlSchemaSet schemas, ValidationEventHandler validationEvent, XmlSchemaType schemaType, XmlSchemaElement schemaElement, XmlSchemaAttribute schemaAttribute ) : XmlReader
ICloneable ( ) : object
IsText ( XPathNodeType type ) : bool
IsValidChildType ( XPathNodeType type ) : bool
IsValidSiblingType ( XPathNodeType type ) : bool
MoveToNonDescendant ( ) : bool
MoveToPrevious ( XPathNodeType type ) : bool
MoveToPrevious ( string localName, string namespaceURI ) : bool

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

AppendChild() публичный метод

public AppendChild ( ) : XmlWriter
Результат System.Xml.XmlWriter

AppendChild() публичный метод

public AppendChild ( XPathNavigator newChild ) : void
newChild XPathNavigator
Результат void

AppendChild() публичный метод

public AppendChild ( XmlReader newChild ) : void
newChild XmlReader
Результат void

AppendChild() публичный метод

public AppendChild ( string newChild ) : void
newChild string
Результат void

AppendChildElement() публичный метод

public AppendChildElement ( string prefix, string localName, string namespaceURI, string value ) : void
prefix string
localName string
namespaceURI string
value string
Результат void

CheckValidity() публичный метод

public CheckValidity ( XmlSchemaSet schemas, ValidationEventHandler validationEventHandler ) : bool
schemas System.Xml.Schema.XmlSchemaSet
validationEventHandler ValidationEventHandler
Результат bool

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

public abstract Clone ( ) : XPathNavigator
Результат XPathNavigator

ComparePosition() публичный метод

public ComparePosition ( XPathNavigator nav ) : XmlNodeOrder
nav XPathNavigator
Результат XmlNodeOrder

Compile() публичный метод

public Compile ( string xpath ) : XPathExpression
xpath string
Результат XPathExpression

CreateAttribute() публичный метод

public CreateAttribute ( string prefix, string localName, string namespaceURI, string value ) : void
prefix string
localName string
namespaceURI string
value string
Результат void

CreateAttributes() публичный метод

public CreateAttributes ( ) : XmlWriter
Результат System.Xml.XmlWriter

CreateNavigator() публичный метод

public CreateNavigator ( ) : XPathNavigator
Результат XPathNavigator

DeleteRange() публичный метод

public DeleteRange ( XPathNavigator lastSiblingToDelete ) : void
lastSiblingToDelete XPathNavigator
Результат void

DeleteSelf() публичный метод

public DeleteSelf ( ) : void
Результат void

Evaluate() публичный метод

public Evaluate ( XPathExpression expr ) : object
expr XPathExpression
Результат object

Evaluate() публичный метод

public Evaluate ( XPathExpression expr, XPathNodeIterator context ) : object
expr XPathExpression
context XPathNodeIterator
Результат object

Evaluate() публичный метод

public Evaluate ( string xpath ) : object
xpath string
Результат object

Evaluate() публичный метод

public Evaluate ( string xpath, IXmlNamespaceResolver resolver ) : object
xpath string
resolver IXmlNamespaceResolver
Результат object

GetAttribute() публичный метод

public GetAttribute ( string localName, string namespaceURI ) : string
localName string
namespaceURI string
Результат string

GetNamespace() публичный метод

public GetNamespace ( string name ) : string
name string
Результат string

GetNamespacesInScope() публичный метод

public GetNamespacesInScope ( XmlNamespaceScope scope ) : string>.IDictionary
scope XmlNamespaceScope
Результат string>.IDictionary

InsertAfter() публичный метод

public InsertAfter ( ) : XmlWriter
Результат System.Xml.XmlWriter

InsertAfter() публичный метод

public InsertAfter ( XPathNavigator newSibling ) : void
newSibling XPathNavigator
Результат void

InsertAfter() публичный метод

public InsertAfter ( XmlReader newSibling ) : void
newSibling XmlReader
Результат void

InsertAfter() публичный метод

public InsertAfter ( string newSibling ) : void
newSibling string
Результат void

InsertBefore() публичный метод

public InsertBefore ( ) : XmlWriter
Результат System.Xml.XmlWriter

InsertBefore() публичный метод

public InsertBefore ( XPathNavigator newSibling ) : void
newSibling XPathNavigator
Результат void

InsertBefore() публичный метод

public InsertBefore ( XmlReader newSibling ) : void
newSibling XmlReader
Результат void

InsertBefore() публичный метод

public InsertBefore ( string newSibling ) : void
newSibling string
Результат void

InsertElementAfter() публичный метод

public InsertElementAfter ( string prefix, string localName, string namespaceURI, string value ) : void
prefix string
localName string
namespaceURI string
value string
Результат void

InsertElementBefore() публичный метод

public InsertElementBefore ( string prefix, string localName, string namespaceURI, string value ) : void
prefix string
localName string
namespaceURI string
value string
Результат void

IsDescendant() публичный метод

public IsDescendant ( XPathNavigator nav ) : bool
nav XPathNavigator
Результат bool

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

public abstract IsSamePosition ( XPathNavigator other ) : bool
other XPathNavigator
Результат bool

LookupNamespace() публичный метод

public LookupNamespace ( string prefix ) : string
prefix string
Результат string

LookupPrefix() публичный метод

public LookupPrefix ( string namespaceURI ) : string
namespaceURI string
Результат string

Matches() публичный метод

public Matches ( XPathExpression expr ) : bool
expr XPathExpression
Результат bool

Matches() публичный метод

public Matches ( string xpath ) : bool
xpath string
Результат bool

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

public abstract MoveTo ( XPathNavigator other ) : bool
other XPathNavigator
Результат bool

MoveToAttribute() публичный метод

public MoveToAttribute ( string localName, string namespaceURI ) : bool
localName string
namespaceURI string
Результат bool

MoveToChild() публичный метод

public MoveToChild ( XPathNodeType type ) : bool
type XPathNodeType
Результат bool

MoveToChild() публичный метод

public MoveToChild ( string localName, string namespaceURI ) : bool
localName string
namespaceURI string
Результат bool

MoveToFirst() публичный метод

public MoveToFirst ( ) : bool
Результат bool

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

public abstract MoveToFirstAttribute ( ) : bool
Результат bool

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

public abstract MoveToFirstChild ( ) : bool
Результат bool

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

public MoveToFirstNamespace ( ) : bool
Результат bool

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

public abstract MoveToFirstNamespace ( XPathNamespaceScope namespaceScope ) : bool
namespaceScope XPathNamespaceScope
Результат bool

MoveToFollowing() публичный метод

public MoveToFollowing ( XPathNodeType type ) : bool
type XPathNodeType
Результат bool

MoveToFollowing() публичный метод

public MoveToFollowing ( XPathNodeType type, XPathNavigator end ) : bool
type XPathNodeType
end XPathNavigator
Результат bool

MoveToFollowing() публичный метод

public MoveToFollowing ( string localName, string namespaceURI ) : bool
localName string
namespaceURI string
Результат bool

MoveToFollowing() публичный метод

public MoveToFollowing ( string localName, string namespaceURI, XPathNavigator end ) : bool
localName string
namespaceURI string
end XPathNavigator
Результат bool

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

public abstract MoveToId ( string id ) : bool
id string
Результат bool

MoveToNamespace() публичный метод

public MoveToNamespace ( string name ) : bool
name string
Результат bool

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

public abstract MoveToNext ( ) : bool
Результат bool

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

public MoveToNext ( XPathNodeType type ) : bool
type XPathNodeType
Результат bool

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

public MoveToNext ( string localName, string namespaceURI ) : bool
localName string
namespaceURI string
Результат bool

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

public abstract MoveToNextAttribute ( ) : bool
Результат bool

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

public MoveToNextNamespace ( ) : bool
Результат bool

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

public abstract MoveToNextNamespace ( XPathNamespaceScope namespaceScope ) : bool
namespaceScope XPathNamespaceScope
Результат bool

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

public abstract MoveToParent ( ) : bool
Результат bool

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

public abstract MoveToPrevious ( ) : bool
Результат bool

MoveToRoot() публичный метод

public MoveToRoot ( ) : void
Результат void

PrependChild() публичный метод

public PrependChild ( ) : XmlWriter
Результат System.Xml.XmlWriter

PrependChild() публичный метод

public PrependChild ( XPathNavigator newChild ) : void
newChild XPathNavigator
Результат void

PrependChild() публичный метод

public PrependChild ( XmlReader newChild ) : void
newChild XmlReader
Результат void

PrependChild() публичный метод

public PrependChild ( string newChild ) : void
newChild string
Результат void

PrependChildElement() публичный метод

public PrependChildElement ( string prefix, string localName, string namespaceURI, string value ) : void
prefix string
localName string
namespaceURI string
value string
Результат void

ReadSubtree() публичный метод

public ReadSubtree ( ) : XmlReader
Результат XmlReader

ReplaceRange() публичный метод

public ReplaceRange ( XPathNavigator lastSiblingToReplace ) : XmlWriter
lastSiblingToReplace XPathNavigator
Результат System.Xml.XmlWriter

ReplaceSelf() публичный метод

public ReplaceSelf ( XPathNavigator newNode ) : void
newNode XPathNavigator
Результат void

ReplaceSelf() публичный метод

public ReplaceSelf ( XmlReader newNode ) : void
newNode XmlReader
Результат void

ReplaceSelf() публичный метод

public ReplaceSelf ( string newNode ) : void
newNode string
Результат void

Select() публичный метод

public Select ( XPathExpression expr ) : XPathNodeIterator
expr XPathExpression
Результат XPathNodeIterator

Select() публичный метод

public Select ( string xpath ) : XPathNodeIterator
xpath string
Результат XPathNodeIterator

Select() публичный метод

public Select ( string xpath, IXmlNamespaceResolver resolver ) : XPathNodeIterator
xpath string
resolver IXmlNamespaceResolver
Результат XPathNodeIterator

SelectAncestors() публичный метод

public SelectAncestors ( XPathNodeType type, bool matchSelf ) : XPathNodeIterator
type XPathNodeType
matchSelf bool
Результат XPathNodeIterator

SelectAncestors() публичный метод

public SelectAncestors ( string name, string namespaceURI, bool matchSelf ) : XPathNodeIterator
name string
namespaceURI string
matchSelf bool
Результат XPathNodeIterator

SelectChildren() публичный метод

public SelectChildren ( XPathNodeType type ) : XPathNodeIterator
type XPathNodeType
Результат XPathNodeIterator

SelectChildren() публичный метод

public SelectChildren ( string name, string namespaceURI ) : XPathNodeIterator
name string
namespaceURI string
Результат XPathNodeIterator

SelectDescendants() публичный метод

public SelectDescendants ( XPathNodeType type, bool matchSelf ) : XPathNodeIterator
type XPathNodeType
matchSelf bool
Результат XPathNodeIterator

SelectDescendants() публичный метод

public SelectDescendants ( string name, string namespaceURI, bool matchSelf ) : XPathNodeIterator
name string
namespaceURI string
matchSelf bool
Результат XPathNodeIterator

SelectSingleNode() публичный метод

public SelectSingleNode ( XPathExpression expression ) : XPathNavigator
expression XPathExpression
Результат XPathNavigator

SelectSingleNode() публичный метод

public SelectSingleNode ( string xpath ) : XPathNavigator
xpath string
Результат XPathNavigator

SelectSingleNode() публичный метод

public SelectSingleNode ( string xpath, IXmlNamespaceResolver resolver ) : XPathNavigator
xpath string
resolver IXmlNamespaceResolver
Результат XPathNavigator

SetTypedValue() публичный метод

public SetTypedValue ( object typedValue ) : void
typedValue object
Результат void

SetValue() публичный метод

public SetValue ( string value ) : void
value string
Результат void

ToString() публичный метод

public ToString ( ) : string
Результат string

ValueAs() публичный метод

public ValueAs ( Type returnType, IXmlNamespaceResolver nsResolver ) : object
returnType Type
nsResolver IXmlNamespaceResolver
Результат object

WriteSubtree() публичный метод

public WriteSubtree ( XmlWriter writer ) : void
writer XmlWriter
Результат void