C# Класс Mvp.Xml.XPointer.XPointerReader

XPointerReader implements XPointer Framework in a fast, non-caching, forward-only way. XPointerReader supports XPointer Framework, element(), xmlns(), xpath1() and xpointer() (XPath subset only) XPointer schemes.
See XPointer.NET homepage for more info.
Наследование: XmlReader, IHasXPathNavigator
Показать файл Открыть проект Примеры использования класса

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

Метод Описание
Close ( ) : void

See XmlReader.Close.

GetAttribute ( int i ) : string

See XmlReader.GetAttribute(int).

GetAttribute ( string name ) : string

See XmlReader.GetAttribute(string).

GetAttribute ( string name, string namespaceURI ) : string

See XmlReader.GetAttribute(string, string).

GetNavigator ( ) : XPathNavigator

Returns the XPathNavigator for the current context or position.

HasLineInfo ( ) : bool

Gets a value indicating whether the class can return line information. See IXmlLineInfo.HasLineInfo.

LookupNamespace ( String prefix ) : String

See XmlReader.LookupNamespace.

MoveToAttribute ( string name ) : bool

See XmlReader.MoveToAttribute(string).

MoveToAttribute ( string name, string ns ) : bool

See XmlReader.MoveToAttribute(string, string).

MoveToAttribute ( int i ) : void

See XmlReader.MoveToAttribute(int).

MoveToElement ( ) : bool

See XmlReader.MoveToElement.

MoveToFirstAttribute ( ) : bool

See XmlReader.MoveToFirstAttribute.

MoveToNextAttribute ( ) : bool

See XmlReader.MoveToNextAttribute.

Read ( ) : bool

See XmlReader.Read.

ReadAttributeValue ( ) : bool

See XmlReader.ReadAttributeValue.

ReadInnerXml ( ) : string

See XmlReader.ReadInnerXml.

ReadOuterXml ( ) : string

See XmlReader.ReadOuterXml.

ReadString ( ) : string

See XmlReader.ReadString.

ResolveEntity ( ) : void

See XmlReader.ResolveEntity.

XPointerReader ( IXPathNavigable doc, string xpointer ) : System

Creates XPointerReader instnace with given IXPathNavigable and xpointer.

XPointerReader ( XPathNavigator nav, string xpointer ) : System

Creates XPointerReader instnace with given XPathNavigator and xpointer.

XPointerReader ( XmlReader reader, string xpointer ) : System

Creates XPointerReader instance with given XmlReader and xpointer. Additionally sets a flag whether to support schema-determined IDs.

XPointerReader ( string uri, Stream stream, XmlNameTable nt, string xpointer ) : System

Creates XPointerReader instance with given uri, stream, nametable and xpointer.

XPointerReader ( string uri, Stream stream, string xpointer ) : System

Creates XPointerReader instance with given uri, stream and xpointer.

XPointerReader ( string uri, XmlNameTable nt, string xpointer ) : System

Creates XPointerReader instance with given uri, nametable and xpointer.

XPointerReader ( string uri, string xpointer ) : System

Creates XPointerReader instance with given uri and xpointer.

XPointerReader ( string uri, string content, string xpointer ) : System

Creates XPointerReader instance with given document's URI and content.

this ( int i ) : String

See XmlReader.this[int].

this ( string name ) : string

See XmlReader.this[string].

this ( string name, string namespaceURI ) : string

See XmlReader.this[string, string].

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

Метод Описание
CreateAndCacheDocument ( XmlReader r ) : XPathDocument
Init ( XPathNavigator nav, string xpointer ) : void

Initializes the XPointerReader.

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

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

See XmlReader.Close.
public Close ( ) : void
Результат void

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

See XmlReader.GetAttribute(int).
public GetAttribute ( int i ) : string
i int
Результат string

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

See XmlReader.GetAttribute(string).
public GetAttribute ( string name ) : string
name string
Результат string

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

See XmlReader.GetAttribute(string, string).
public GetAttribute ( string name, string namespaceURI ) : string
name string
namespaceURI string
Результат string

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

Returns the XPathNavigator for the current context or position.
public GetNavigator ( ) : XPathNavigator
Результат XPathNavigator

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

Gets a value indicating whether the class can return line information. See IXmlLineInfo.HasLineInfo.
public HasLineInfo ( ) : bool
Результат bool

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

See XmlReader.LookupNamespace.
public LookupNamespace ( String prefix ) : String
prefix String
Результат String

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

See XmlReader.MoveToAttribute(string).
public MoveToAttribute ( string name ) : bool
name string
Результат bool

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

See XmlReader.MoveToAttribute(string, string).
public MoveToAttribute ( string name, string ns ) : bool
name string
ns string
Результат bool

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

See XmlReader.MoveToAttribute(int).
public MoveToAttribute ( int i ) : void
i int
Результат void

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

See XmlReader.MoveToElement.
public MoveToElement ( ) : bool
Результат bool

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

See XmlReader.MoveToFirstAttribute.
public MoveToFirstAttribute ( ) : bool
Результат bool

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

See XmlReader.MoveToNextAttribute.
public MoveToNextAttribute ( ) : bool
Результат bool

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

See XmlReader.Read.
public Read ( ) : bool
Результат bool

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

See XmlReader.ReadAttributeValue.
public ReadAttributeValue ( ) : bool
Результат bool

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

See XmlReader.ReadInnerXml.
public ReadInnerXml ( ) : string
Результат string

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

See XmlReader.ReadOuterXml.
public ReadOuterXml ( ) : string
Результат string

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

See XmlReader.ReadString.
public ReadString ( ) : string
Результат string

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

See XmlReader.ResolveEntity.
public ResolveEntity ( ) : void
Результат void

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

Creates XPointerReader instnace with given IXPathNavigable and xpointer.
public XPointerReader ( IXPathNavigable doc, string xpointer ) : System
doc IXPathNavigable
xpointer string
Результат System

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

Creates XPointerReader instnace with given XPathNavigator and xpointer.
public XPointerReader ( XPathNavigator nav, string xpointer ) : System
nav XPathNavigator
xpointer string
Результат System

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

Creates XPointerReader instance with given XmlReader and xpointer. Additionally sets a flag whether to support schema-determined IDs.
public XPointerReader ( XmlReader reader, string xpointer ) : System
reader XmlReader
xpointer string
Результат System

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

Creates XPointerReader instance with given uri, stream, nametable and xpointer.
public XPointerReader ( string uri, Stream stream, XmlNameTable nt, string xpointer ) : System
uri string
stream Stream
nt XmlNameTable
xpointer string
Результат System

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

Creates XPointerReader instance with given uri, stream and xpointer.
public XPointerReader ( string uri, Stream stream, string xpointer ) : System
uri string
stream Stream
xpointer string
Результат System

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

Creates XPointerReader instance with given uri, nametable and xpointer.
public XPointerReader ( string uri, XmlNameTable nt, string xpointer ) : System
uri string
nt XmlNameTable
xpointer string
Результат System

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

Creates XPointerReader instance with given uri and xpointer.
public XPointerReader ( string uri, string xpointer ) : System
uri string
xpointer string
Результат System

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

Creates XPointerReader instance with given document's URI and content.
public XPointerReader ( string uri, string content, string xpointer ) : System
uri string XML document's base URI
content string XML document's content
xpointer string XPointer pointer
Результат System

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

See XmlReader.this[int].
public this ( int i ) : String
i int
Результат String

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

See XmlReader.this[string].
public this ( string name ) : string
name string
Результат string

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

See XmlReader.this[string, string].
public this ( string name, string namespaceURI ) : string
name string
namespaceURI string
Результат string