IXmlReader

Description

interface Tinman.Core.Xml.IXmlReader

Derived from

IPathInfo

Extended by

IXmlStream

Base interface for classes that allow sequential reading of XML data.

Public / Methods

Read


public method Read → ()

returns → int32

The node type:
-1 : stream end
0 : list end
1 : XmlDocument header list begin
2 : XmlElement children list begin
3 : XmlAttribute value list begin
4 : XmlChar
5 : XmlComment
6 : XmlData
7 : XmlEntity
8 : XmlInstruction
9 : XmlSpace
10 : XmlText

Reads the next node from the XML stream.

IOException

If an I/O error has occurred.

Read​Bool


[Pure]
public method ReadBool → ()

returns → bool

The node value.

Reads a value of the current node without advancing the stream.

The following values may be read with this method:

IOException

If an I/O error has occurred.

Read​Int


[Pure]
public method ReadInt → (1)

index opt : int32 = 0

The value index (see remarks).

returns → int32

The node value.

Reads a value of the current node without advancing the stream.

The following values may be read with this method:

IOException

If an I/O error has occurred.

Read​Name


[Pure]
public method ReadName → ()

returns → XmlName

The node name.

Reads a value of the current node without advancing the stream.

The following values may be read with this method:

IOException

If an I/O error has occurred.

Read​String


[Pure]
public method ReadString → (1)

index opt : int32 = 0

The value index (see remarks).

returns → string

The node value.

Reads a value of the current node without advancing the stream.

The following values may be read with this method:

IOException

If an I/O error has occurred.