C# 클래스 Sage.Views.XHtmlXmlWriter

Ensures that all HTML tags that need to have the matching closing tag are not collapsed.
상속: XmlWrappingWriter
파일 보기 프로젝트 열기: igorfrance/sage 1 사용 예제들

공개 메소드들

메소드 설명
WriteEndElement ( ) : void

Closes one element and pops the corresponding namespace scope.

WriteStartElement ( string prefix, string localName, string ns ) : void

Writes the specified start tag and associates it with the given namespace and prefix.

XHtmlXmlWriter ( Stream stream ) : System

Initializes a new instance of the XHtmlXmlWriter class.

XHtmlXmlWriter ( Stream stream, XmlWriterSettings settings ) : System

Initializes a new instance of the XHtmlXmlWriter class.

XHtmlXmlWriter ( XmlWriter writer ) : System

Initializes a new instance of the XHtmlXmlWriter class.

메소드 상세

WriteEndElement() 공개 메소드

Closes one element and pops the corresponding namespace scope.
public WriteEndElement ( ) : void
리턴 void

WriteStartElement() 공개 메소드

Writes the specified start tag and associates it with the given namespace and prefix.
The writer is closed.
public WriteStartElement ( string prefix, string localName, string ns ) : void
prefix string The namespace prefix of the element.
localName string The local name of the element.
ns string The namespace URI to associate with the element. If this namespace is /// already in scope and has an associated prefix then the writer automatically writes /// that prefix also.
리턴 void

XHtmlXmlWriter() 공개 메소드

Initializes a new instance of the XHtmlXmlWriter class.
public XHtmlXmlWriter ( Stream stream ) : System
stream Stream The stream to write to.
리턴 System

XHtmlXmlWriter() 공개 메소드

Initializes a new instance of the XHtmlXmlWriter class.
public XHtmlXmlWriter ( Stream stream, XmlWriterSettings settings ) : System
stream Stream The stream to write to.
settings System.Xml.XmlWriterSettings The XmlWriterSettings to use.
리턴 System

XHtmlXmlWriter() 공개 메소드

Initializes a new instance of the XHtmlXmlWriter class.
public XHtmlXmlWriter ( XmlWriter writer ) : System
writer System.Xml.XmlWriter The writer to write to.
리턴 System