org.xwiki.rendering.internal.renderer.xhtml.link
Class DefaultXHTMLLinkTypeRenderer
java.lang.Object
org.xwiki.rendering.internal.renderer.xhtml.link.AbstractXHTMLLinkTypeRenderer
org.xwiki.rendering.internal.renderer.xhtml.link.DefaultXHTMLLinkTypeRenderer
- All Implemented Interfaces:
- XHTMLLinkTypeRenderer, LinkListener
- Direct Known Subclasses:
- PathXHTMLLinkTypeRenderer
@Component
@InstantiationStrategy(value=PER_LOOKUP)
public class DefaultXHTMLLinkTypeRenderer
- extends AbstractXHTMLLinkTypeRenderer
Handle XHTML rendering for links for which we haven't found a specific
XHTMLLinkTypeRenderer
implementation.
- Since:
- 2.5M2
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DefaultXHTMLLinkTypeRenderer
public DefaultXHTMLLinkTypeRenderer()
beginLinkExtraAttributes
protected void beginLinkExtraAttributes(ResourceReference reference,
Map<String,String> spanAttributes,
Map<String,String> anchorAttributes)
- Description copied from class:
AbstractXHTMLLinkTypeRenderer
- 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