C# 클래스 BloomTemp.TempFileUtils

파일 보기 프로젝트 열기: BloomBooks/BloomDesktop

공개 메소드들

메소드 설명
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