Changes for page Rendering Module

Last modified by Manuel Leduc on 2023/04/17 11:03

<
From version < 74.2 >
edited by Vincent Massol
on 2022/04/19 11:13
To version < 77.1 >
edited by Vincent Massol
on 2022/07/27 10:00
>
Change comment: There is no comment for this version

Summary

Details

ExtensionCode.ExtensionClass[0]
Description
... ... @@ -88,9 +88,35 @@
88 88   * @since 10.10RC1
89 89   */
90 90   public MacroDescriptor getMacroDescriptor(MacroId macroId)
91 +
92 + /**
93 + * Return the list of categories of a given macro.
94 + *
95 + * @param macroId the macro id
96 + * @return the list of categories of the macro
97 + * @since 14.6RC1
98 + */
99 + public Set<String> getMacroCategories(MacroId macroId)
91 91  }
92 92  {{/code}}
93 93  
103 +{{version before="14.6RC1"}}
104 +{{version since="13.10.8,14.4.3"}}(((
105 +{{code language="java"}}
106 + /**
107 + * Return the category of the macro, possibly overridden.
108 + *
109 + * @param macroId the macro id
110 + * @return the category
111 + * @since 13.10.8
112 + * @since 14.4.3
113 + */
114 + public String getMacroCategory(MacroId macroId)
115 +{{/code}}
116 +)))
117 +{{/version}}
118 +{{/version}}
119 +
94 94  For example to parse some content in HTML and then render it in XWiki Syntax 2.1 from Velocity you would write:
95 95  
96 96  {{code}}

Get Connected