com.atlassian.confluence.renderer
Class NoAnchorHeadingBlockRenderer
java.lang.Object
com.atlassian.renderer.v2.components.block.HeadingBlockRenderer
com.atlassian.confluence.renderer.ConfluenceHeadingBlockRenderer
com.atlassian.confluence.renderer.NoAnchorHeadingBlockRenderer
- All Implemented Interfaces:
- com.atlassian.renderer.v2.components.block.BlockRenderer
public class NoAnchorHeadingBlockRenderer
- extends ConfluenceHeadingBlockRenderer
A heading block renderer which places the anchor name in the ID of the heading, rather than generating a separate
empty anchor element.
It creates illegal characters in the id, so it is no longer used.
Method Summary |
protected java.lang.String |
renderHeading(java.lang.String headingLevel,
java.lang.String body,
com.atlassian.renderer.RenderContext context,
com.atlassian.renderer.v2.SubRenderer subRenderer)
|
Methods inherited from class com.atlassian.renderer.v2.components.block.HeadingBlockRenderer |
renderHeading, renderNextBlock |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
NoAnchorHeadingBlockRenderer
public NoAnchorHeadingBlockRenderer()
renderHeading
protected java.lang.String renderHeading(java.lang.String headingLevel,
java.lang.String body,
com.atlassian.renderer.RenderContext context,
com.atlassian.renderer.v2.SubRenderer subRenderer)
- Overrides:
renderHeading
in class com.atlassian.renderer.v2.components.block.HeadingBlockRenderer
Copyright © 2003-2013 Atlassian. All Rights Reserved.