Package io.wcm.handler.link.spi
Interface LinkMarkupBuilder
- All Known Implementing Classes:
- DummyLinkMarkupBuilder,- SimpleLinkMarkupBuilder
@ConsumerType
public interface LinkMarkupBuilder
Builds XHTML markup for links. The markup builder should build only an empty anchor tag without content.
 
 This interface has to be implemented by a Sling Model class. The adaptables
 should be SlingHttpServletRequest and Resource.
 
- 
Method Summary
- 
Method Details- 
acceptsChecks whether this builder can generate markup for the given link.- Parameters:
- link- Link metadata
- Returns:
- true if this markup builder can handle the given link
 
- 
buildBuild link anchor markup- Parameters:
- link- Link metadata with resolved link information
- Returns:
- Anchor or null if link is invalid
 
 
-