org.xwiki.rendering.internal.renderer
Class XWikiLinkLabelGenerator

java.lang.Object
  extended by org.xwiki.rendering.internal.renderer.XWikiLinkLabelGenerator
All Implemented Interfaces:
LinkLabelGenerator

@Component
@Singleton
public class XWikiLinkLabelGenerator
extends Object
implements LinkLabelGenerator

Resolve configuration link format using the defined Rendering Configuration (see RenderingConfiguration).

Since:
2.0M1

Constructor Summary
XWikiLinkLabelGenerator()
           
 
Method Summary
 String generate(ResourceReference reference)
          Generate a clean String label for the provided ResourceReference.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

XWikiLinkLabelGenerator

public XWikiLinkLabelGenerator()
Method Detail

generate

public String generate(ResourceReference reference)
Generate a clean String label for the provided ResourceReference.

Specified by:
generate in interface LinkLabelGenerator
Parameters:
reference - the link reference
Returns:
the generated label
Since:
2.5RC1