This document is provided on an "AS IS" basis without warranties of any kind. Smartsite iXperion class libraries may change in future releases.
Syntax
C# | Copy Code |
---|---|
public class HtmlWriter |
Visual Basic (Declaration) | Copy Code |
---|---|
Public Class HtmlWriter |
The type exposes the following methods.
Public Methods
Name | Description | |
---|---|---|
Close | (Inherited from XmlTextWriter.) | |
Dispose | (Inherited from XmlWriter.) | |
Equals | (Inherited from Object.) | |
Flush | (Inherited from XmlTextWriter.) | |
FlushAsync | (Inherited from XmlWriter.) | |
GetHashCode | (Inherited from Object.) | |
GetType | (Inherited from Object.) | |
LookupPrefix | (Inherited from XmlTextWriter.) | |
ToString | (Inherited from Object.) | |
WriteAttributes |
This method is overriden to filter out attributes which are not allowed
(Overrides XmlWriter..::WriteAttributes(XmlReader, Boolean).) |
|
WriteAttributesAsync | (Inherited from XmlWriter.) | |
WriteAttributeString | (Inherited from XmlWriter.) | |
WriteAttributeString | (Inherited from XmlWriter.) | |
WriteAttributeString | (Inherited from XmlWriter.) | |
WriteAttributeStringAsync | (Inherited from XmlWriter.) | |
WriteBase64 | (Inherited from XmlTextWriter.) | |
WriteBase64Async | (Inherited from XmlWriter.) | |
WriteBinHex | (Inherited from XmlTextWriter.) | |
WriteBinHexAsync | (Inherited from XmlWriter.) | |
WriteCData | (Inherited from XmlTextWriter.) | |
WriteCDataAsync | (Inherited from XmlWriter.) | |
WriteCharEntity | (Inherited from XmlTextWriter.) | |
WriteCharEntityAsync | (Inherited from XmlWriter.) | |
WriteChars | (Inherited from XmlTextWriter.) | |
WriteCharsAsync | (Inherited from XmlWriter.) | |
WriteComment | (Overrides XmlTextWriter..::WriteComment(String).) | |
WriteCommentAsync | (Inherited from XmlWriter.) | |
WriteDocType | (Inherited from XmlTextWriter.) | |
WriteDocTypeAsync | (Inherited from XmlWriter.) | |
WriteElementString | (Inherited from XmlWriter.) | |
WriteElementString | (Inherited from XmlWriter.) | |
WriteElementString | (Inherited from XmlWriter.) | |
WriteElementStringAsync | (Inherited from XmlWriter.) | |
WriteEndAttribute | (Inherited from XmlTextWriter.) | |
WriteEndDocument | (Inherited from XmlTextWriter.) | |
WriteEndDocumentAsync | (Inherited from XmlWriter.) | |
WriteEndElement | (Inherited from XmlTextWriter.) | |
WriteEndElementAsync | (Inherited from XmlWriter.) | |
WriteEntityRef | (Inherited from XmlTextWriter.) | |
WriteEntityRefAsync | (Inherited from XmlWriter.) | |
WriteFullEndElement | (Inherited from XmlTextWriter.) | |
WriteFullEndElementAsync | (Inherited from XmlWriter.) | |
WriteName | (Inherited from XmlTextWriter.) | |
WriteNameAsync | (Inherited from XmlWriter.) | |
WriteNmToken | (Inherited from XmlTextWriter.) | |
WriteNmTokenAsync | (Inherited from XmlWriter.) | |
WriteNode | (Inherited from XmlWriter.) | |
WriteNode | (Inherited from XmlWriter.) | |
WriteNodeAsync | (Inherited from XmlWriter.) | |
WriteNodeAsync | (Inherited from XmlWriter.) | |
WriteProcessingInstruction | (Inherited from XmlTextWriter.) | |
WriteProcessingInstructionAsync | (Inherited from XmlWriter.) | |
WriteQualifiedName | (Inherited from XmlTextWriter.) | |
WriteQualifiedNameAsync | (Inherited from XmlWriter.) | |
WriteRaw | (Inherited from XmlTextWriter.) | |
WriteRaw | (Inherited from XmlTextWriter.) | |
WriteRawAsync | (Inherited from XmlWriter.) | |
WriteRawAsync | (Inherited from XmlWriter.) | |
WriteStartAttribute | (Inherited from XmlWriter.) | |
WriteStartAttribute | (Inherited from XmlWriter.) | |
WriteStartAttribute | (Inherited from XmlTextWriter.) | |
WriteStartDocument | (Inherited from XmlTextWriter.) | |
WriteStartDocument | (Inherited from XmlTextWriter.) | |
WriteStartDocumentAsync | (Inherited from XmlWriter.) | |
WriteStartDocumentAsync | (Inherited from XmlWriter.) | |
WriteStartElement | Overloaded. | |
WriteStartElementAsync | (Inherited from XmlWriter.) | |
WriteString |
The reason why we are overriding this method is, we do not want the output to be
encoded for texts inside attribute and inside node elements. For example, all the nbsp;
gets converted to amp;nbsp in output. But this does not
apply to HTML. In HTML, we need to have nbsp; as it is.
(Overrides XmlTextWriter..::WriteString(String).) |
|
WriteStringAsync | (Inherited from XmlWriter.) | |
WriteSurrogateCharEntity | (Inherited from XmlTextWriter.) | |
WriteSurrogateCharEntityAsync | (Inherited from XmlWriter.) | |
WriteValue | (Inherited from XmlWriter.) | |
WriteValue | (Inherited from XmlWriter.) | |
WriteValue | (Inherited from XmlWriter.) | |
WriteValue | (Inherited from XmlWriter.) | |
WriteValue | (Inherited from XmlWriter.) | |
WriteValue | (Inherited from XmlWriter.) | |
WriteValue | (Inherited from XmlWriter.) | |
WriteValue | (Inherited from XmlWriter.) | |
WriteValue | (Inherited from XmlWriter.) | |
WriteValue | (Inherited from XmlWriter.) | |
WriteWhitespace | (Overrides XmlTextWriter..::WriteWhitespace(String).) | |
WriteWhitespaceAsync | (Inherited from XmlWriter.) |
Protected Methods
Name | Description | |
---|---|---|
Dispose | (Inherited from XmlWriter.) | |
Finalize | (Inherited from Object.) | |
MemberwiseClone | (Inherited from Object.) | |
WriteEndAttributeAsync | (Inherited from XmlWriter.) | |
WriteStartAttributeAsync | (Inherited from XmlWriter.) |
See Also
Smartsite.Web Namespace