C# Class StoryTeller.Util.HtmlTextWriter

Inheritance: System.IO.TextWriter
Afficher le fichier Open project: storyteller/Storyteller

Méthodes publiques

Свойство Type Description
Encoder System.Text.Encodings.Web.HtmlEncoder

Méthodes publiques

Méthode Description
AddAttribute ( HtmlTextWriterAttribute key, string value ) : void
AddAttribute ( HtmlTextWriterAttribute key, string value, bool fEncode ) : void
AddAttribute ( string name, string value ) : void
AddAttribute ( string name, string value, bool fEndode ) : void
Flush ( ) : void
HtmlTextWriter ( TextWriter writer ) : System
HtmlTextWriter ( TextWriter writer, string tabString ) : System
RenderBeginTag ( HtmlTextWriterTag tagKey ) : void
RenderBeginTag ( string tagName ) : void
RenderEndTag ( ) : void
Write ( bool value ) : void
Write ( char value ) : void
Write ( char buffer, int index, int count ) : void
Write ( double value ) : void
Write ( float value ) : void
Write ( int value ) : void
Write ( long value ) : void
Write ( object value ) : void
Write ( string s ) : void
Write ( string format, object arg0 ) : void
Write ( string format, object arg0, object arg1 ) : void
WriteAttribute ( string name, string value ) : void
WriteAttribute ( string name, string value, bool fEncode ) : void
WriteBeginTag ( string tagName ) : void
WriteBreak ( ) : void
WriteEncodedText ( String text ) : void
WriteEndTag ( string tagName ) : void
WriteFullBeginTag ( string tagName ) : void
WriteLine ( ) : void
WriteLine ( UInt32 value ) : void
WriteLine ( bool value ) : void
WriteLine ( char value ) : void
WriteLine ( char buffer, int index, int count ) : void
WriteLine ( double value ) : void
WriteLine ( float value ) : void
WriteLine ( int value ) : void
WriteLine ( long value ) : void
WriteLine ( object value ) : void
WriteLine ( string s ) : void
WriteLine ( string format, object arg0 ) : void
WriteLine ( string format, object arg0, object arg1 ) : void
WriteLineNoTabs ( string s ) : void
WriteStyleAttribute ( string name, string value ) : void
WriteStyleAttribute ( string name, string value, bool fEncode ) : void

Méthodes protégées

Méthode Description
AddAttribute ( string name, string value, HtmlTextWriterAttribute key ) : void
EncodeAttributeValue ( HtmlTextWriterAttribute attrKey, string value ) : string
EncodeAttributeValue ( string value, bool fEncode ) : string
EncodeUrl ( string url ) : string
FilterAttributes ( ) : void
GetAttributeKey ( string attrName ) : HtmlTextWriterAttribute
GetAttributeName ( HtmlTextWriterAttribute attrKey ) : string
GetTagKey ( string tagName ) : HtmlTextWriterTag
GetTagName ( HtmlTextWriterTag tagKey ) : string
IsAttributeDefined ( HtmlTextWriterAttribute key ) : bool
IsAttributeDefined ( HtmlTextWriterAttribute key, string &value ) : bool
OnAttributeRender ( string name, string value, HtmlTextWriterAttribute key ) : bool
OnTagRender ( string name, HtmlTextWriterTag key ) : bool
OutputTabs ( ) : void
PopEndTag ( ) : string
PushEndTag ( string endTag ) : void
RegisterAttribute ( string name, HtmlTextWriterAttribute key ) : void
RegisterTag ( string name, HtmlTextWriterTag key ) : void
RenderAfterContent ( ) : string
RenderAfterTag ( ) : string
RenderBeforeContent ( ) : string
RenderBeforeTag ( ) : string

Private Methods

Méthode Description
AddAttribute ( string name, string value, HtmlTextWriterAttribute key, bool encode, bool isUrl ) : void
HtmlTextWriter ( ) : System
RegisterAttribute ( string name, HtmlTextWriterAttribute key, bool encode ) : void
RegisterAttribute ( string name, HtmlTextWriterAttribute key, bool encode, bool isUrl ) : void
RegisterTag ( string name, HtmlTextWriterTag key, TagType type ) : void
WriteHtmlAttributeEncode ( string s ) : void
WriteObsoleteBreak ( ) : void

Method Details

AddAttribute() public méthode

public AddAttribute ( HtmlTextWriterAttribute key, string value ) : void
key HtmlTextWriterAttribute
value string
Résultat void

AddAttribute() public méthode

public AddAttribute ( HtmlTextWriterAttribute key, string value, bool fEncode ) : void
key HtmlTextWriterAttribute
value string
fEncode bool
Résultat void

AddAttribute() public méthode

public AddAttribute ( string name, string value ) : void
name string
value string
Résultat void

AddAttribute() protected méthode

protected AddAttribute ( string name, string value, HtmlTextWriterAttribute key ) : void
name string
value string
key HtmlTextWriterAttribute
Résultat void

AddAttribute() public méthode

public AddAttribute ( string name, string value, bool fEndode ) : void
name string
value string
fEndode bool
Résultat void

EncodeAttributeValue() protected méthode

protected EncodeAttributeValue ( HtmlTextWriterAttribute attrKey, string value ) : string
attrKey HtmlTextWriterAttribute
value string
Résultat string

EncodeAttributeValue() protected méthode

protected EncodeAttributeValue ( string value, bool fEncode ) : string
value string
fEncode bool
Résultat string

EncodeUrl() protected méthode

protected EncodeUrl ( string url ) : string
url string
Résultat string

FilterAttributes() protected méthode

protected FilterAttributes ( ) : void
Résultat void

Flush() public méthode

public Flush ( ) : void
Résultat void

GetAttributeKey() protected méthode

protected GetAttributeKey ( string attrName ) : HtmlTextWriterAttribute
attrName string
Résultat HtmlTextWriterAttribute

GetAttributeName() protected méthode

protected GetAttributeName ( HtmlTextWriterAttribute attrKey ) : string
attrKey HtmlTextWriterAttribute
Résultat string

GetTagKey() protected méthode

protected GetTagKey ( string tagName ) : HtmlTextWriterTag
tagName string
Résultat HtmlTextWriterTag

GetTagName() protected méthode

protected GetTagName ( HtmlTextWriterTag tagKey ) : string
tagKey HtmlTextWriterTag
Résultat string

HtmlTextWriter() public méthode

public HtmlTextWriter ( TextWriter writer ) : System
writer System.IO.TextWriter
Résultat System

HtmlTextWriter() public méthode

public HtmlTextWriter ( TextWriter writer, string tabString ) : System
writer System.IO.TextWriter
tabString string
Résultat System

IsAttributeDefined() protected méthode

protected IsAttributeDefined ( HtmlTextWriterAttribute key ) : bool
key HtmlTextWriterAttribute
Résultat bool

IsAttributeDefined() protected méthode

protected IsAttributeDefined ( HtmlTextWriterAttribute key, string &value ) : bool
key HtmlTextWriterAttribute
value string
Résultat bool

OnAttributeRender() protected méthode

protected OnAttributeRender ( string name, string value, HtmlTextWriterAttribute key ) : bool
name string
value string
key HtmlTextWriterAttribute
Résultat bool

OnTagRender() protected méthode

protected OnTagRender ( string name, HtmlTextWriterTag key ) : bool
name string
key HtmlTextWriterTag
Résultat bool

OutputTabs() protected méthode

protected OutputTabs ( ) : void
Résultat void

PopEndTag() protected méthode

protected PopEndTag ( ) : string
Résultat string

PushEndTag() protected méthode

protected PushEndTag ( string endTag ) : void
endTag string
Résultat void

RegisterAttribute() protected static méthode

protected static RegisterAttribute ( string name, HtmlTextWriterAttribute key ) : void
name string
key HtmlTextWriterAttribute
Résultat void

RegisterTag() protected static méthode

protected static RegisterTag ( string name, HtmlTextWriterTag key ) : void
name string
key HtmlTextWriterTag
Résultat void

RenderAfterContent() protected méthode

protected RenderAfterContent ( ) : string
Résultat string

RenderAfterTag() protected méthode

protected RenderAfterTag ( ) : string
Résultat string

RenderBeforeContent() protected méthode

protected RenderBeforeContent ( ) : string
Résultat string

RenderBeforeTag() protected méthode

protected RenderBeforeTag ( ) : string
Résultat string

RenderBeginTag() public méthode

public RenderBeginTag ( HtmlTextWriterTag tagKey ) : void
tagKey HtmlTextWriterTag
Résultat void

RenderBeginTag() public méthode

public RenderBeginTag ( string tagName ) : void
tagName string
Résultat void

RenderEndTag() public méthode

public RenderEndTag ( ) : void
Résultat void

Write() public méthode

public Write ( bool value ) : void
value bool
Résultat void

Write() public méthode

public Write ( char value ) : void
value char
Résultat void

Write() public méthode

public Write ( char buffer, int index, int count ) : void
buffer char
index int
count int
Résultat void

Write() public méthode

public Write ( double value ) : void
value double
Résultat void

Write() public méthode

public Write ( float value ) : void
value float
Résultat void

Write() public méthode

public Write ( int value ) : void
value int
Résultat void

Write() public méthode

public Write ( long value ) : void
value long
Résultat void

Write() public méthode

public Write ( object value ) : void
value object
Résultat void

Write() public méthode

public Write ( string s ) : void
s string
Résultat void

Write() public méthode

public Write ( string format, object arg0 ) : void
format string
arg0 object
Résultat void

Write() public méthode

public Write ( string format, object arg0, object arg1 ) : void
format string
arg0 object
arg1 object
Résultat void

WriteAttribute() public méthode

public WriteAttribute ( string name, string value ) : void
name string
value string
Résultat void

WriteAttribute() public méthode

public WriteAttribute ( string name, string value, bool fEncode ) : void
name string
value string
fEncode bool
Résultat void

WriteBeginTag() public méthode

public WriteBeginTag ( string tagName ) : void
tagName string
Résultat void

WriteBreak() public méthode

public WriteBreak ( ) : void
Résultat void

WriteEncodedText() public méthode

public WriteEncodedText ( String text ) : void
text String
Résultat void

WriteEndTag() public méthode

public WriteEndTag ( string tagName ) : void
tagName string
Résultat void

WriteFullBeginTag() public méthode

public WriteFullBeginTag ( string tagName ) : void
tagName string
Résultat void

WriteLine() public méthode

public WriteLine ( ) : void
Résultat void

WriteLine() public méthode

public WriteLine ( UInt32 value ) : void
value System.UInt32
Résultat void

WriteLine() public méthode

public WriteLine ( bool value ) : void
value bool
Résultat void

WriteLine() public méthode

public WriteLine ( char value ) : void
value char
Résultat void

WriteLine() public méthode

public WriteLine ( char buffer, int index, int count ) : void
buffer char
index int
count int
Résultat void

WriteLine() public méthode

public WriteLine ( double value ) : void
value double
Résultat void

WriteLine() public méthode

public WriteLine ( float value ) : void
value float
Résultat void

WriteLine() public méthode

public WriteLine ( int value ) : void
value int
Résultat void

WriteLine() public méthode

public WriteLine ( long value ) : void
value long
Résultat void

WriteLine() public méthode

public WriteLine ( object value ) : void
value object
Résultat void

WriteLine() public méthode

public WriteLine ( string s ) : void
s string
Résultat void

WriteLine() public méthode

public WriteLine ( string format, object arg0 ) : void
format string
arg0 object
Résultat void

WriteLine() public méthode

public WriteLine ( string format, object arg0, object arg1 ) : void
format string
arg0 object
arg1 object
Résultat void

WriteLineNoTabs() public méthode

public WriteLineNoTabs ( string s ) : void
s string
Résultat void

WriteStyleAttribute() public méthode

public WriteStyleAttribute ( string name, string value ) : void
name string
value string
Résultat void

WriteStyleAttribute() public méthode

public WriteStyleAttribute ( string name, string value, bool fEncode ) : void
name string
value string
fEncode bool
Résultat void

Property Details

Encoder public_oe static_oe property

public static HtmlEncoder,System.Text.Encodings.Web Encoder
Résultat System.Text.Encodings.Web.HtmlEncoder