JVCL Help:TJvHTMLParser.Parser

From Project JEDI Wiki
Jump to navigationJump to search
JEDI Visual Component Library Help

Search in JVCL Help

 
Search in all projects
 

Summary

Design-time HTML tag definitions for the HTML parser.


Pascal

 propertyParser: TStrings;


Description

Parser is a TStrings property that represents HTML tag definitions created at design-time for the HTML parser. Parser is used when the Delphi component streaming mechanism has completely loaded the component. Values in Parser are used to create and store the HTML tag definitions maintained internally in the parser.
Lines must be added to the Parser property in multiples of 5; in other words, 5 lines are required for a single tag definition. The following table indicates the relative positions and uses of the lines added to the Parser property:

Position Meaning
0 Keyword or Name associated with the tag definition.
1 HTML representing the start of the tag.
2 HTML representing the end of the tag.
3 Ordinal position of the tag definition in the resulting list of tags.
4 Conditional parsing required for the tag. See TJvParserInfo.MustBe for acceptable values.


Use AddCondition, ClearConditions, and RemoveCondition to maintain HTML tag definitions at run-time.
Use TagList to access the HTML tags encountered during parsing of the HTML content for the parser.


See Also

TJvHTMLParser.AddCondition, TJvHTMLParser.ClearConditions, TJvHTMLParser.RemoveCondition, TJvHTMLParser.TagList, TJvParserInfo.MustBe


About

Contribute to this help topic

This documentation wiki is based on the collaborative effort of Project JEDI users. Your edits are welcome in order to improve documentation quality: edit this page