com.xpn.xwiki.render.macro
Class MacroLoader

java.lang.Object
  extended by org.radeox.macro.MacroLoader
      extended by com.xpn.xwiki.render.macro.MacroLoader

public class MacroLoader
extends org.radeox.macro.MacroLoader

This class has been copied from Radeox. The reason is because the class returned getLoadClass() is used to load the service providers. We are passing our own XWikiMacro class so that the META-INF/com.xpn.xwiki.render.macro.XWikiMacro file is used to load the Macros instead of the default macro list provided in the Radeox JAR. Since we need to pass this MacroLoader class to the MacroRepository class we have also copied the MacroRepository class.


Constructor Summary
MacroLoader()
           
 
Method Summary
 Class getLoadClass()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MacroLoader

public MacroLoader()
Method Detail

getLoadClass

public Class getLoadClass()