CGI Framework TTagInterpreter reference |
||||||||||||
![]() |
![]() |
TTagInterpreter reference TTagInterpreter is a helper component for PageBuilders. A TagInterpreter is charged with a namespace and will care about all tags inside that namespace. Unit PageBuilder Description TagIntrepreter purpose is triple: promotes code organization by keeping highly coupled code joined together; easy code reuse by allowing linking a TagInterpreter to two or more PageBuilders; provide a single base class to create specialized TagInterpreters that can be widely used across many different projects. TagInterpreters cannot be used alone. They don't provide a "Content" method neither parse HTML code. A TagInterpreter must always be linked to a PageBuilder. property NameSpace: String Set the namespace to process. Its a mandatory property. Do not include the colon (:) delimiter. property OnHTMLTag: TPageBuilderTagEvent OnHTMLTag event is fired whenever an tag on the registered namespace is catched by a linked PageBuilder. For a detailed description of event parameters, refer to TPageBuilder documentation. |
![]() |
|||||||||
![]() |
||||||||||||
Copyleft (2002) Ivan C. Cruz Site contents may be reproduced in all or in part since you provide a clear statement citing that site as your source. That site was built and tested with Mozilla. If some components looks misalligned or not properly rendered, it may be your browser fault. In that case, please, consider an upgrade. |