org.xwiki.rendering.internal.transformation.macro
Class DefaultMacroTransformationConfiguration
java.lang.Object
org.xwiki.rendering.internal.transformation.macro.DefaultMacroTransformationConfiguration
- All Implemented Interfaces:
- MacroTransformationConfiguration
@Component
@Singleton
public class DefaultMacroTransformationConfiguration
- extends Object
- implements MacroTransformationConfiguration
Basic default implementation to be used when using the XWiki Rendering system standalone.
- Since:
- 2.6RC1
- Version:
- $Id$
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DefaultMacroTransformationConfiguration
public DefaultMacroTransformationConfiguration()
getCategories
public Properties getCategories()
-
- Specified by:
getCategories in interface MacroTransformationConfiguration
- Returns:
- the category names to use for the macros. These are the categories under which they'll be listed
in UIs for example. If a category for a macro is null then the category defined in the macro
descriptor (ie defined by the macro author) will be used
- See Also:
MacroTransformationConfiguration.getCategories()
addCategory
public void addCategory(MacroId macroId,
String category)
- Parameters:
macroId - the id of the macro for which to set a categorycategory - the category name to set
Copyright © 2004-2011 XWiki. All Rights Reserved.