프로퍼티 | 타입 | 설명 | |
---|---|---|---|
MAX_PARAMS | int | ||
TEXT_CAPACITY | int | ||
bClosure | bool | ||
bComments | bool | ||
bEndClosure | bool | ||
bEntities | bool | ||
bHashMode | bool | ||
bLtEntity | bool | ||
cParamChars | byte[] | ||
iChunkLength | int | ||
iChunkOffset | int | ||
iParams | int | ||
oEnc | Encoding | ||
oHTML | string | ||
oParams | object>.System.Collections.Generic.Dictionary | ||
oType | HTMLchunkType | ||
sParams | string[] | ||
sTag | string | ||
sValues | string[] |
메소드 | 설명 | |
---|---|---|
AddParam ( string sParam, string sValue, byte cParamChar ) : void |
Adds tag parameter to the chunk
|
|
Clear ( ) : void |
Clears chunk preparing it for
|
|
ConvertParamsToHash ( ) : void |
This function will convert parameters stored in sParams/sValues arrays into oParams hash Useful if generally parsing is done when bHashMode is FALSE. Hash operations are not the fastest, so its best not to use this function.
|
|
Dispose ( ) : void | ||
GenerateHTML ( ) : string |
Generates HTML based on current chunk's data Note: this is not a high performance method and if you want ORIGINAL HTML that was parsed to create this chunk then use relevant HTMLparser method to obtain such HTML then you should use function of parser: SetRawHTML
|
|
GenerateParamHTML ( string sParam, string sValue, char cParamChar ) : string |
Generates HTML for param/value pair
|
|
GenerateParamsHTML ( ) : string |
Generates HTML for params in this chunk
|
|
GetParamValue ( string sParam ) : string |
Returns value of a parameter
|
|
HTMLchunk ( bool p_bHashMode ) : System |
Initialises new HTMLchunk
|
|
MakeSafeParamValue ( string sLine, char cQuoteChar ) : string |
Makes parameter value safe to be used in param - this will check for any conflicting quote chars, but not full entity-encoding
|
|
SetEncoding ( |
Sets encoding to be used for conversion of binary data into string
|
메소드 | 설명 | |
---|---|---|
Dispose ( bool bDisposing ) : void |
public AddParam ( string sParam, string sValue, byte cParamChar ) : void | ||
sParam | string | Parameter name (ie color) |
sValue | string | Value of the parameter (ie white) |
cParamChar | byte | |
리턴 | void |
public GenerateParamHTML ( string sParam, string sValue, char cParamChar ) : string | ||
sParam | string | Param |
sValue | string | Value (empty if not specified) |
cParamChar | char | |
리턴 | string |
public GetParamValue ( string sParam ) : string | ||
sParam | string | Parameter |
리턴 | string |
public static MakeSafeParamValue ( string sLine, char cQuoteChar ) : string | ||
sLine | string | Line of text |
cQuoteChar | char | Quote char used in param - any such chars in text will be entity-encoded |
리턴 | string |
public SetEncoding ( |
||
p_oEnc | Encoding object | |
리턴 | void |
public System.Collections.Generic.Dictionary |
||
리턴 | object>.System.Collections.Generic.Dictionary |