PluginFactory
returns an implementation of the ElementHook interface, which will be used on then elements in the wiki source tree. This interface has the following methods:/** * Return the set of elements declarations which will be handled by this ElementHook. */ public Set<String> supportedElements(); /** * Start the processing of an article. */ public default void startArticle(XMLArticle article) { } /** * Handle an element. */ public void handleElement(ParagraphElement element);
supportedElements()
returns a set with only "title", the method will be fired only for syntax elementsdocJGenerator Copyright (c) 2016-2023 Herve Girod. All rights reserved.