C# Class LayoutFarm.Composers.HtmlDocument

Inheritance: LayoutFarm.WebDom.Impl.HtmlDocument
Show file Open project: prepare/HTML-Renderer Class Usage Examples

Public Methods

Method Description
CreateDocumentFragment ( ) : WebDocument
CreateDocumentNodeElement ( ) : DomNode
CreateElement ( string prefix, string localName ) : DomElement
CreateShadowRootElement ( ) : DomElement
CreateTextNode ( char strBufferForElement ) : DomTextNode
CreateWrapperElement ( string wrapperElementName, LazyCssBoxCreator lazyCssBoxCreator ) : DomElement
RegisterCustomElement ( string customElementName, CreateCssBoxDelegate cssBoxGen ) : void
TryGetCustomBoxGenerator ( string customElementName, CreateCssBoxDelegate &cssBoxGen ) : bool

Private Methods

Method Description
HtmlDocument ( ) : System
HtmlDocument ( UniqueStringTable sharedUniqueStringTable ) : System

Method Details

CreateDocumentFragment() public method

public CreateDocumentFragment ( ) : WebDocument
return LayoutFarm.WebDom.WebDocument

CreateDocumentNodeElement() public method

public CreateDocumentNodeElement ( ) : DomNode
return LayoutFarm.WebDom.DomNode

CreateElement() public method

public CreateElement ( string prefix, string localName ) : DomElement
prefix string
localName string
return LayoutFarm.WebDom.DomElement

CreateShadowRootElement() public method

public CreateShadowRootElement ( ) : DomElement
return LayoutFarm.WebDom.DomElement

CreateTextNode() public method

public CreateTextNode ( char strBufferForElement ) : DomTextNode
strBufferForElement char
return LayoutFarm.WebDom.DomTextNode

CreateWrapperElement() public method

public CreateWrapperElement ( string wrapperElementName, LazyCssBoxCreator lazyCssBoxCreator ) : DomElement
wrapperElementName string
lazyCssBoxCreator LazyCssBoxCreator
return LayoutFarm.WebDom.DomElement

RegisterCustomElement() public method

public RegisterCustomElement ( string customElementName, CreateCssBoxDelegate cssBoxGen ) : void
customElementName string
cssBoxGen CreateCssBoxDelegate
return void

TryGetCustomBoxGenerator() public method

public TryGetCustomBoxGenerator ( string customElementName, CreateCssBoxDelegate &cssBoxGen ) : bool
customElementName string
cssBoxGen CreateCssBoxDelegate
return bool