public abstract class AbstractLinkSupportingNodeViewElementBuilder<T extends com.foreach.across.modules.web.ui.elements.AbstractNodeViewElement,SELF extends com.foreach.across.modules.web.ui.elements.builder.AbstractNodeViewElementBuilder<T,SELF>> extends AbstractHtmlSupportingNodeViewElementBuilder<T,SELF>
AbstractHtmlSupportingNodeViewElementBuilder
and supports configuration of HTML escaping behaviour.AbstractHtmlSupportingNodeViewElementBuilder| Constructor and Description |
|---|
AbstractLinkSupportingNodeViewElementBuilder() |
| Modifier and Type | Method and Description |
|---|---|
protected String |
buildLink(String link,
com.foreach.across.modules.web.ui.ViewElementBuilderContext builderContext) |
SELF |
linkBuilder(Function<String,String> linkBuilder)
Set a conversion function that should be applied to all url type properties
when setting them as the attribute for the generated links.
|
escapeHtml, isEscapeHtml, resolveTextElement, toTextElementapply, attribute, attributes, clearAttributes, css, htmlId, removeAttribute, removeCssadd, add, addAll, addFirst, addFirst, sortbuild, configure, createElement, customTemplate, elementSupplier, elementSupplier, name, postProcess, postProcessor, registerWebResources, withclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitpublic AbstractLinkSupportingNodeViewElementBuilder()
public SELF linkBuilder(Function<String,String> linkBuilder)
ViewElementBuilderContext.buildLink(String).
You can suppress the default behaviour by setting this property to Function.identity().linkBuilder - to use for translating the urlsCopyright © 2020. All rights reserved.