com.atlassian.confluence.renderer
Class NoAnchorHeadingBlockRenderer

java.lang.Object
  extended by com.atlassian.renderer.v2.components.block.HeadingBlockRenderer
      extended by com.atlassian.confluence.renderer.ConfluenceHeadingBlockRenderer
          extended by 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.


Constructor Summary
NoAnchorHeadingBlockRenderer()
           
 
Method Summary
protected  String renderHeading(String headingLevel, String body, com.atlassian.renderer.RenderContext context, com.atlassian.renderer.v2.SubRenderer subRenderer)
           
 
Methods inherited from class com.atlassian.confluence.renderer.ConfluenceHeadingBlockRenderer
getAnchor
 
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
 

Constructor Detail

NoAnchorHeadingBlockRenderer

public NoAnchorHeadingBlockRenderer()
Method Detail

renderHeading

protected String renderHeading(String headingLevel,
                               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-2011 Atlassian. All Rights Reserved.