Method | Description | |
---|---|---|
FormatDefault ( ) : System |
Creates the default OutputFormatter using default DomRenderingOption values and default HtmlEncoder
|
|
FormatDefault ( DomRenderingOptions options, IHtmlEncoder encoder ) : System |
Abstract base class constructor.
|
|
Render ( IDomObject node ) : string |
Renders the object to a string.
|
|
Render ( IDomObject node, |
Renders the object to the textwriter.
|
|
RenderChildren ( IDomObject element, |
Renders the children of this element.
|
|
RenderElement ( IDomObject element, |
Gets the HTML representation of this element and its children.
|
Method | Description | |
---|---|---|
EndElement ( IDomObject element ) : void |
Adds the element close tag to the output stack.
|
|
MergeDefaultOptions ( ) : void |
Merge options with defaults when needed.
|
|
ParseChildren ( IDomObject element ) : void |
Renders all the children of the passed node.
|
|
RenderAttribute ( |
Render an attribute.
|
|
RenderCdataNode ( IDomObject element, |
Renders a CDATA node.
|
|
RenderCommentNode ( IDomObject element, |
Renders the comment node.
|
|
RenderDocTypeNode ( IDomObject element, |
Renders the document type node.
|
|
RenderElementCloseTag ( IDomObject element, |
Renders the element close tag.
|
|
RenderElementInternal ( IDomObject element, |
Gets the HTML representation of this element and its children. (This is the implementation - it will not flush the stack)
|
|
RenderElements ( IEnumerable |
Renders a sequence of elements.
|
|
RenderStack ( |
Process the output stack.
|
|
RenderTextNode ( IDomObject textNode, |
Renders the text node.
|
|
SetDocType ( IDomObject element ) : void |
Sets document type.
|
Method | Description | |
---|---|---|
RenderChildrenInternal ( IDomObject element, |
||
RenderInternal ( IDomObject node, |
protected EndElement ( IDomObject element ) : void | ||
element | IDomObject | /// The element. /// |
return | void |
public FormatDefault ( DomRenderingOptions options, IHtmlEncoder encoder ) : System | ||
options | DomRenderingOptions | /// Options for controlling the operation. /// |
encoder | IHtmlEncoder | /// The encoder. /// |
return | System |
protected ParseChildren ( IDomObject element ) : void | ||
element | IDomObject | /// The element. /// |
return | void |
public Render ( IDomObject node ) : string | ||
node | IDomObject | /// The node. /// |
return | string |
public Render ( IDomObject node, |
||
node | IDomObject | /// The node. /// |
writer | /// The writer to which output is written. /// | |
return | void |
protected RenderAttribute ( |
||
writer | /// The writer to which output is written. /// | |
name | string | /// The name of the attribute. /// |
value | string | /// The attribute value. /// |
quoteAll | bool | /// true to require quotes around the attribute value, false to use quotes only if needed. /// |
return | void |
protected RenderCdataNode ( IDomObject element, |
||
element | IDomObject | /// The element to render /// |
writer | /// The writer to which output is written. /// | |
return | void |
public RenderChildren ( IDomObject element, |
||
element | IDomObject | /// The element to render. /// |
writer | /// The writer to which output is written. /// | |
return | void |
protected RenderCommentNode ( IDomObject element, |
||
element | IDomObject | /// The element to render /// |
writer | /// The writer to which output is written. /// | |
return | void |
protected RenderDocTypeNode ( IDomObject element, |
||
element | IDomObject | /// The element to render /// |
writer | /// The writer to which output is written. /// | |
return | void |
public RenderElement ( IDomObject element, |
||
element | IDomObject | /// The element to render. /// |
writer | /// The writer to which output is written. /// | |
includeChildren | bool | /// true to include, false to exclude the children. /// |
return | void |
protected RenderElementCloseTag ( IDomObject element, |
||
element | IDomObject | /// The element. /// |
writer | /// The writer to which output is written. /// | |
return | void |
protected RenderElementInternal ( IDomObject element, |
||
element | IDomObject | /// The element to render. /// |
writer | /// The writer to which output is written. /// | |
includeChildren | bool | /// true to include, false to exclude the children. /// |
return | void |
protected RenderElements ( IEnumerable |
||
elements | IEnumerable |
/// The elements. /// |
writer | /// The writer to which output is written. /// | |
return | void |
protected RenderStack ( |
||
writer | ||
return | void |
protected RenderTextNode ( IDomObject textNode, |
||
textNode | IDomObject | /// The text node. /// |
writer | /// The writer to which output is written. /// | |
raw | bool | /// true to raw. /// |
return | void |
protected SetDocType ( IDomObject element ) : void | ||
element | IDomObject | /// The element to render. /// |
return | void |