C# Класс BloomTemp.TempFileUtils

Показать файл Открыть проект

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

Метод Описание
CleanupHtml5 ( string xhtml ) : string
CreateHtm5FromXml ( XmlNode dom ) : TempFile
CreateHtml5StringFromXml ( XmlNode dom ) : string

Create a string that could be the contents of an HTML5 file and which corresponds to the specified DOM (presumed to contain appropriate content). This method has no business in this class except that it is so parallel to CreateHtml5FromXml that I wanted to keep them together.

GetXmlWriterSettingsForHtml5 ( ) : XmlWriterSettings

Return the settings that should be used for an XmlWriter to write a DOM as HTML5. (The writer results should then be passed through CleanupHtml5.)

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

CleanupHtml5() публичный статический Метод

public static CleanupHtml5 ( string xhtml ) : string
xhtml string
Результат string

CreateHtm5FromXml() публичный статический Метод

public static CreateHtm5FromXml ( XmlNode dom ) : TempFile
dom System.Xml.XmlNode
Результат TempFile

CreateHtml5StringFromXml() публичный статический Метод

Create a string that could be the contents of an HTML5 file and which corresponds to the specified DOM (presumed to contain appropriate content). This method has no business in this class except that it is so parallel to CreateHtml5FromXml that I wanted to keep them together.
public static CreateHtml5StringFromXml ( XmlNode dom ) : string
dom System.Xml.XmlNode
Результат string

GetXmlWriterSettingsForHtml5() публичный статический Метод

Return the settings that should be used for an XmlWriter to write a DOM as HTML5. (The writer results should then be passed through CleanupHtml5.)
public static GetXmlWriterSettingsForHtml5 ( ) : XmlWriterSettings
Результат System.Xml.XmlWriterSettings