org.xwiki.rendering.renderer.reference.link
Interface URILabelGenerator
@ComponentRole
public interface URILabelGenerator
Generate Resource Reference labels for URIs. For example an implementation for MAILTO URIs would remove the scheme
part and the query string part.
- Since:
- 2.2RC1
- Version:
- $Id: a5c1e148b1090e4c5549649572b6e0b301d20f9e $
generateLabel
String generateLabel(ResourceReference reference)
- Parameters:
reference - the reference pointing to a URI for which we want to generate a label
- Returns:
- the URI label to display when rendering resource references
- Since:
- 2.5RC1
Copyright © 2004-2012 XWiki. All Rights Reserved.