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: URILabelGenerator.java 31687 2010-10-08 19:37:36Z vmassol $
generateLabel
java.lang.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-2011 XWiki. All Rights Reserved.