Class MacroManagerFactoryImpl
- java.lang.Object
-
- com.atlassian.confluence.macro.xhtml.MacroManagerFactoryImpl
-
- All Implemented Interfaces:
MacroManagerFactory
public class MacroManagerFactoryImpl extends Object implements MacroManagerFactory
-
-
Constructor Summary
Constructors Constructor Description MacroManagerFactoryImpl(MacroManager defaultMacroManager, MacroManager xhtmlMacroManager, MacroManager userMacroManager)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description MacroManager
getDefaultMacroManager()
MacroManager
getUserMacroMacroManager()
MacroManager
getXhtmlMacroManager()
-
-
-
Constructor Detail
-
MacroManagerFactoryImpl
public MacroManagerFactoryImpl(MacroManager defaultMacroManager, MacroManager xhtmlMacroManager, MacroManager userMacroManager)
-
-
Method Detail
-
getDefaultMacroManager
public MacroManager getDefaultMacroManager()
- Specified by:
getDefaultMacroManager
in interfaceMacroManagerFactory
- Returns:
- the default MacroManager. This is the same as the MacroManager available via OSGI
-
getXhtmlMacroManager
public MacroManager getXhtmlMacroManager()
- Specified by:
getXhtmlMacroManager
in interfaceMacroManagerFactory
- Returns:
- the MacroManager responsible for XHTML specific macros only.
-
getUserMacroMacroManager
public MacroManager getUserMacroMacroManager()
- Specified by:
getUserMacroMacroManager
in interfaceMacroManagerFactory
- Returns:
- a MacroManager responsible for both UI create User Macros and those installed via plugins.
-
-