Home
Categories
Dictionary
Download
Project Details
Changes Log
What Links Here
How To
Syntax
FAQ
License

ElementHook tree visit



This article explains how and when the ElementHook is called to modify the the wiki source tree content before the generation.

Articles visit

The ElementHook will be called for:

Elements visit

For all articles which are included in the visit:

Example

Suppose the following article content:
   The introductory text
   <title title="the title" />
   paragraph content with <code>theCode</code>.
It will have the following wiki source tree:
  • The default starting paragraph (it is the default paragraph at the start of the article because no paragraph is defined).
    • The "The introductory text" sentence
    • A title
    • The "paragraph content with " sentence
    • The "theCode" code
Suppose that the ElementHook.supportedElements() only returns "title". Then the ElementHook will only be called for the title element.

Notes

  1. ^ The Strings in the set are the declarations of the supported elements

See also


Categories: plugins

docJGenerator Copyright (c) 2016-2023 Herve Girod. All rights reserved.