com.xpn.xwiki.render.macro
Class MacroRepository

java.lang.Object
  extended by org.radeox.macro.PluginRepository
      extended by com.xpn.xwiki.render.macro.MacroRepository
All Implemented Interfaces:
org.radeox.macro.Repository

public class MacroRepository
extends org.radeox.macro.PluginRepository

See MacroLoader for why we have copied this class from Radeox.


Field Summary
protected  org.radeox.api.engine.context.InitialRenderContext context
           
protected static MacroRepository instance
           
protected  List loaders
           
protected static org.slf4j.Logger LOGGER
           
 
Fields inherited from class org.radeox.macro.PluginRepository
list, plugins
 
Constructor Summary
protected MacroRepository()
           
 
Method Summary
static MacroRepository getInstance()
           
protected  void init()
           
protected  void initialize(org.radeox.api.engine.context.InitialRenderContext context)
           
protected  void load()
          Loads macros from all loaders into plugins.
 void setInitialContext(org.radeox.api.engine.context.InitialRenderContext context)
           
 
Methods inherited from class org.radeox.macro.PluginRepository
containsKey, get, getPlugins, put
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

LOGGER

protected static org.slf4j.Logger LOGGER

context

protected org.radeox.api.engine.context.InitialRenderContext context

instance

protected static MacroRepository instance

loaders

protected List loaders
Constructor Detail

MacroRepository

protected MacroRepository()
Method Detail

getInstance

public static MacroRepository getInstance()

initialize

protected void initialize(org.radeox.api.engine.context.InitialRenderContext context)

setInitialContext

public void setInitialContext(org.radeox.api.engine.context.InitialRenderContext context)

init

protected void init()

load

protected void load()
Loads macros from all loaders into plugins.



Copyright © 2004-2013 XWiki. All Rights Reserved.