org.xwiki.rendering.internal.renderer
Class DefaultAttachmentURILabelGenerator

java.lang.Object
  extended by org.xwiki.rendering.internal.renderer.DefaultAttachmentURILabelGenerator
All Implemented Interfaces:
URILabelGenerator

@Component
@Named(value="attach")
@Singleton
public class DefaultAttachmentURILabelGenerator
extends Object
implements URILabelGenerator

Generate link labels for ATTACH URIs.

Since:
2.5RC1
Version:
$Id$

Constructor Summary
DefaultAttachmentURILabelGenerator()
           
 
Method Summary
 String generateLabel(ResourceReference reference)
          
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DefaultAttachmentURILabelGenerator

public DefaultAttachmentURILabelGenerator()
Method Detail

generateLabel

public String generateLabel(ResourceReference reference)

Specified by:
generateLabel in interface URILabelGenerator
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
See Also:
URILabelGenerator.generateLabel( org.xwiki.rendering.listener.reference.ResourceReference)


Copyright © 2004-2011 XWiki. All Rights Reserved.