com.atlassian.confluence.renderer.radeox.macros
Class AnchorMacro
java.lang.Object
org.radeox.macro.BaseMacro
com.atlassian.renderer.macro.BaseMacro
com.atlassian.confluence.renderer.radeox.macros.AnchorMacro
- All Implemented Interfaces:
- Comparable, Macro, org.radeox.macro.Macro
- public class AnchorMacro
- extends BaseMacro
A simple macro to put anchors into the page
Fields inherited from class org.radeox.macro.BaseMacro |
initialContext, paramDescription |
Methods inherited from class org.radeox.macro.BaseMacro |
compareTo, setInitialContext, toString |
Methods inherited from interface org.radeox.macro.Macro |
setInitialContext |
AnchorMacro
public AnchorMacro()
getName
public String getName()
getParamDescription
public String[] getParamDescription()
execute
public void execute(Writer writer,
org.radeox.macro.parameter.MacroParameter macroParameter)
throws IllegalArgumentException,
IOException
- Throws:
IllegalArgumentException
IOException
generateAnchor
public static String generateAnchor(PageContext context,
String anchorTitle)