C# Class JsonFx.UI.Jbst.JbstWriter

JBST Writer
Inheritance: IHtmlWriter
Show file Open project: pocket-playlab/jsonfx-v1 Class Usage Examples

Public Methods

Method Description
Clear ( ) : void
JbstWriter ( ) : System

Ctor

JbstWriter ( string virtualPath ) : System

Ctor

Render ( TextWriter writer ) : void

Private Methods

Method Description
AddAttribute ( string name, JbstControl value ) : void
AddAttribute ( string name, string value ) : void
AddStyle ( string name, string value ) : void
AppendChild ( JbstControl child ) : void
AppendChild ( string text ) : void
GetGlobals ( ) : string

Generates a globals list from import directives

IHtmlWriter ( HtmlTag tag ) : void
IHtmlWriter ( string value ) : void
PopTag ( string tagName ) : void
ProcessDirective ( string directiveName, string>.IDictionary attribs, int lineNumber ) : void
ProcessDirectives ( ) : void
PushTag ( string rawName ) : void
SetAttribute ( JbstContainerControl target, string name, string value ) : void
SetStyle ( JbstContainerControl target, string name, string value ) : void
SplitPrefix ( string rawName, string &tagName ) : string

Splits the prefix and tag name

WriteAttributes ( HtmlTag tag ) : void
WriteStyles ( HtmlTag tag ) : void
WriteUnparsedTag ( HtmlTag tag ) : void

Method Details

Clear() public method

public Clear ( ) : void
return void

JbstWriter() public method

Ctor
public JbstWriter ( ) : System
return System

JbstWriter() public method

Ctor
public JbstWriter ( string virtualPath ) : System
virtualPath string path used for resolving App_LocalResources
return System

Render() public method

public Render ( TextWriter writer ) : void
writer System.IO.TextWriter
return void