org.xwiki.rendering.renderer.reference.link
Interface URILabelGenerator

All Known Implementing Classes:
DefaultAttachmentURILabelGenerator, MailtoURILabelGenerator

@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$

Method Summary
 String generateLabel(ResourceReference reference)
           
 

Method Detail

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-2011 XWiki. All Rights Reserved.