IXmlWriter

Description

interface Tinman.Core.Xml.IXmlWriter

Derived from

IPathInfo

Extended by

IXmlStream

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

To write to a stream of XML data, use the following call sequence:

Public / Methods

Write​Attribute​Begin


public method WriteAttributeBegin → (1)

name in : XmlName

See XmlAttribute.Name.

Writes the start of an XmlAttribute node.

IOException

If an I/O error has occurred.

Write​Attribute​End


public method WriteAttributeEnd → ()

Writes the end of an XmlAttribute node.

IOException

If an I/O error has occurred.

Write​Char


public method WriteChar → (2)

value in : char

See XmlChar.Value.

hexadecimal in : bool

See XmlChar.IsHexadecimal.

Writes an XmlChar node.

IOException

If an I/O error has occurred.

Write​Comment


public method WriteComment → (1)

text in : string

See XmlComment.Text.

Writes an XmlComment node.

If text in is null, no write access is performed.

IOException

If an I/O error has occurred.

Write​Data


public method WriteData → (1)

text in : string

See XmlData.Text.

Writes an XmlData node.

If text in is null, no write access is performed.

IOException

If an I/O error has occurred.

Write​Element​Begin


public method WriteElementBegin → (2)

name in : XmlName

See XmlElement.Name.

compact opt : bool = true

See XmlElement.IsCompact.

Writes the start of an XmlElement node.

IOException

If an I/O error has occurred.

Write​Element​End


public method WriteElementEnd → ()

Writes the end of an XmlElement node.

IOException

If an I/O error has occurred.

Write​Entity


public method WriteEntity → (1)

name in : XmlName

See XmlEntity.Name.

Writes an XmlEntity node.

IOException

If an I/O error has occurred.

Write​Header​Begin


public method WriteHeaderBegin → (7)

name opt : XmlName = default(XmlName)

See XmlDocument.Name.

systemId opt : string = null

See XmlDocument.SystemId.

publicId opt : string = null

See XmlDocument.PublicId.

versionMajor opt : int32 = 1

See XmlDocument.Version.

versionMinor opt : int32 = 0

See XmlDocument.Version.

encoding opt : string = "utf-8"

See XmlDocument.Encoding.

standAlone opt : int32 = 0

See XmlDocument.StandAlone.

Writes the header of an XmlDocument node.

IOException

If an I/O error has occurred.

Write​Header​End


public method WriteHeaderEnd → ()

Ends writing of the document header.

IOException

If an I/O error has occurred.

Write​Instruction


public method WriteInstruction → (2)

target in : XmlName

See XmlInstruction.Target.

source in : string

See XmlInstruction.Source.

Writes an XmlInstruction node.

IOException

If an I/O error has occurred.

Write​Space


public method WriteSpace → (1)

value in : string

See XmlSpace.Space.

Writes an XmlSpace node.

If value in is null, no write access is performed.

IOException

If an I/O error has occurred.

Write​Text


public method WriteText → (1)

value in : string

See XmlText.Value.

Writes an XmlText node.

If value in is null, no write access is performed.

IOException

If an I/O error has occurred.