@Model(adaptables={org.apache.sling.api.SlingHttpServletRequest.class,org.apache.sling.api.resource.Resource.class})
@ProviderType
public final class SimpleLinkMarkupBuilder
extends Object
implements LinkMarkupBuilder
LinkMarkupBuilder| Constructor and Description |
|---|
SimpleLinkMarkupBuilder() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
accepts(Link link)
Checks whether this builder can generate markup for the given link.
|
io.wcm.handler.commons.dom.Anchor |
build(Link link)
Build link anchor markup
|
public boolean accepts(Link link)
LinkMarkupBuilderaccepts in interface LinkMarkupBuilderlink - Link metadatapublic io.wcm.handler.commons.dom.Anchor build(Link link)
LinkMarkupBuilderbuild in interface LinkMarkupBuilderlink - Link metadata with resolved link informationCopyright © 2014–2017 wcm.io. All rights reserved.