org.xwiki.rendering.internal.renderer.xhtml.link
Class AttachmentXHTMLLinkTypeRenderer
java.lang.Object
org.xwiki.rendering.internal.renderer.xhtml.link.AbstractXHTMLLinkTypeRenderer
org.xwiki.rendering.internal.renderer.xhtml.link.AttachmentXHTMLLinkTypeRenderer
- All Implemented Interfaces:
- org.xwiki.component.phase.Initializable, XHTMLLinkTypeRenderer, LinkListener
@Component
@Named(value="attach")
@InstantiationStrategy(value=PER_LOOKUP)
public class AttachmentXHTMLLinkTypeRenderer
- extends AbstractXHTMLLinkTypeRenderer
- implements org.xwiki.component.phase.Initializable
Handle XHTML rendering for links to attachments.
- Since:
- 2.5M2
- Version:
- $Id$
|
Method Summary |
protected void |
beginLinkExtraAttributes(ResourceReference reference,
java.util.Map<java.lang.String,java.lang.String> spanAttributes,
java.util.Map<java.lang.String,java.lang.String> anchorAttributes)
Hook called when rendering the beginning of a link to allow implementation classes to augment the passed span and
anchor attributes as they see fit. |
void |
initialize()
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AttachmentXHTMLLinkTypeRenderer
public AttachmentXHTMLLinkTypeRenderer()
initialize
public void initialize()
throws org.xwiki.component.phase.InitializationException
-
- Specified by:
initialize in interface org.xwiki.component.phase.Initializable
- Throws:
org.xwiki.component.phase.InitializationException- See Also:
Initializable.initialize()
beginLinkExtraAttributes
protected void beginLinkExtraAttributes(ResourceReference reference,
java.util.Map<java.lang.String,java.lang.String> spanAttributes,
java.util.Map<java.lang.String,java.lang.String> anchorAttributes)
- Hook called when rendering the beginning of a link to allow implementation classes to augment the passed span and
anchor attributes as they see fit.
- Specified by:
beginLinkExtraAttributes in class AbstractXHTMLLinkTypeRenderer
- Parameters:
reference - the reference of the link being renderedspanAttributes - the HTML attributes for the SPAN HTML element added around the ANCHOR HTML elementanchorAttributes - the HTML attributes for the ANCHOR element- See Also:
AbstractXHTMLLinkTypeRenderer.beginLinkExtraAttributes(org.xwiki.rendering.listener.reference.ResourceReference ,
java.util.Map, java.util.Map)
Copyright © 2004-2011 XWiki. All Rights Reserved.