|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
@ComponentRole public interface MacroCategoryManager
Component interface for managing macro category information. Each rendering macro defines a default category under which it falls, but this category may be overwritten by xwiki configuration mechanism. This component will handle such overwriting operations and make sure latest macro category information is presented to client code.
| Method Summary | |
|---|---|
Set<String> |
getMacroCategories()
Returns all the macro categories currently available in the system. |
Set<String> |
getMacroCategories(Syntax syntax)
Returns all the macro categories currently available in the system for macros registered for a given syntax and for all syntaxes. |
Set<MacroId> |
getMacroIds(String category)
|
Set<MacroId> |
getMacroIds(String category,
Syntax syntax)
|
| Method Detail |
|---|
Set<String> getMacroCategories()
throws MacroLookupException
MacroLookupException - error when looking up macros
Set<String> getMacroCategories(Syntax syntax)
throws MacroLookupException
syntax - the syntax to filter the macros by syntax.
MacroLookupException - error when looking up macros
Set<MacroId> getMacroIds(String category)
throws MacroLookupException
category - name of the category or null.
MacroLookupException - error when lookup macros
Set<MacroId> getMacroIds(String category,
Syntax syntax)
throws MacroLookupException
category - name of the category or null.syntax - the syntax to filter the macros by syntax.
MacroLookupException - error when lookup macros
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||