C# 클래스 HandCoded.Xml.Writer.CompactWriter

The CompactWriter. class produces a XML document that contains the least amount of unnecessary whitespace as possible to keep the overall document size small.
상속: XmlWriter
파일 보기 프로젝트 열기: formicary/fpml-toolkit-csharp

공개 메소드들

메소드 설명
CompactWriter ( Stream stream, Encoding encoding ) : System

Constructs a CompactWriter.

CompactWriter ( TextWriter writer ) : System

Constructs a CompactWriter.

ToString ( XmlDocument document ) : string

Converts a XmlDocument to a compact string representation.

Write ( XmlDocument document ) : void

Formats and writes the indicated XmlDocument to the output stream using the style implemented by the class instance.

비공개 메소드들

메소드 설명
WriteNode ( XmlNode node ) : void

Formats and writes the indicated XmlNode to the output stream using the style implemented by the class instance.

메소드 상세

CompactWriter() 공개 메소드

Constructs a CompactWriter.
public CompactWriter ( Stream stream, Encoding encoding ) : System
stream Stream The to write to.
encoding System.Text.Encoding The character encoding to use.
리턴 System

CompactWriter() 공개 메소드

Constructs a CompactWriter.
public CompactWriter ( TextWriter writer ) : System
writer System.IO.TextWriter The to write to.
리턴 System

ToString() 공개 정적인 메소드

Converts a XmlDocument to a compact string representation.
public static ToString ( XmlDocument document ) : string
document System.Xml.XmlDocument The to be converted.
리턴 string

Write() 공개 메소드

Formats and writes the indicated XmlDocument to the output stream using the style implemented by the class instance.
public Write ( XmlDocument document ) : void
document System.Xml.XmlDocument The to be formatted.
리턴 void