|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.xwiki.rendering.internal.macro.DefaultMacroCategoryManager
@Component @Singleton public class DefaultMacroCategoryManager
Default implementation of MacroCategoryManager.
| Constructor Summary | |
|---|---|
DefaultMacroCategoryManager()
|
|
| 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)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public DefaultMacroCategoryManager()
| Method Detail |
|---|
public Set<String> getMacroCategories()
throws MacroLookupException
getMacroCategories in interface MacroCategoryManagerMacroLookupException - error when looking up macrosMacroCategoryManager.getMacroCategories()
public Set<String> getMacroCategories(Syntax syntax)
throws MacroLookupException
getMacroCategories in interface MacroCategoryManagersyntax - the syntax to filter the macros by syntax.
MacroLookupException - error when looking up macrosMacroCategoryManager.getMacroCategories(org.xwiki.rendering.syntax.Syntax)
public Set<MacroId> getMacroIds(String category)
throws MacroLookupException
getMacroIds in interface MacroCategoryManagercategory - name of the category or null.
MacroLookupException - error when lookup macrosMacroCategoryManager.getMacroIds(String)
public Set<MacroId> getMacroIds(String category,
Syntax syntax)
throws MacroLookupException
getMacroIds in interface MacroCategoryManagercategory - name of the category or null.syntax - the syntax to filter the macros by syntax.
MacroLookupException - error when lookup macrosMacroCategoryManager.getMacroIds(String, org.xwiki.rendering.syntax.Syntax)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||