XmlNodeStream

Description

sealed class Tinman.Core.Xml.XmlNodeStream

Derived from

XmlStream abstract

A IXmlStream implementation that directly operates on XmlNode objects.

Public / Constructors

Xml​Node​Stream

2 overloads


public constructor XmlNodeStream1 → (1)

path opt : Path = null

The Path to return from IPathInfo.PathInfo.

Creates a new instance of XmlNodeStream for writing

The XML stream will create a new XmlNode object.


public constructor XmlNodeStream2 → (3)

node in : XmlNode

[not-null]
The XML node to operate on.

read opt : bool = true

true to read the data in this XML node,
false to append new data to this XML node.

path opt : Path = null

The Path to return from IPathInfo.PathInfo.

Creates a new instance of XmlNodeStream for reading or writing.

The XML stream will operate on the given node in object.

Public / Methods

Flip


public method Flip → ()

returns → XmlNodeStream

this

Finishes writing to this stream and flips it to read mode.

IOException

If an I/O error has occurred.