The fields of the HTMLchunk class are listed below. For a complete list of HTMLchunk class members, see the HTMLchunk Members topic.
Public Instance Fields
![]() | If true then tag params will be kept in a hash rather than in a fixed size arrays. This will be slow down parsing, but make it easier to use. |
![]() | Character used to quote param's value: it is taken actually from parsed HTML |
![]() | Length of the chunk in bHTML data array |
![]() | Offset in bHTML data array at which this chunk starts |
![]() | Number of parameters and values stored in sParams array, OR in oParams hashtable if bHashMode is true |
![]() | Encoder to be used for conversion of binary data into strings, Encoding.Default is used by default, but it can be changed if top level user of the parser detects that encoding was different |
![]() | For TAGS: it stores raw HTML that was parsed to generate thus chunk will be here UNLESS HTMLparser was configured not to store it there as it can improve performance For TEXT or COMMENTS: actual text or comments - you MUST call Finalise(); first. |
![]() | Hashtable with tag parameters: keys are param names and values are param values. ONLY used if bHashMode is set to TRUE. |
![]() | Chunk type showing whether its text, open or close tag, comments or script. WARNING: if type is comments or script then you have to manually call Finalise(); method in order to have actual text of comments/scripts in oHTML variable |
![]() | Param names will be stored here - actual number is in iParams. ONLY used if bHashMode is set to FALSE. |
![]() | If its open/close tag type then this is where lowercased Tag will be kept |
![]() | Param values will be stored here - actual number is in iParams. ONLY used if bHashMode is set to FALSE. |
See Also
HTMLchunk Class | Majestic12 Namespace