org.xwiki.rendering.internal.renderer
Class XWikiLinkLabelGenerator
java.lang.Object
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
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
XWikiLinkLabelGenerator
public XWikiLinkLabelGenerator()
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