public abstract class AbstractHtmlSupportingNodeViewElementBuilder<T extends com.foreach.across.modules.web.ui.elements.AbstractNodeViewElement,SELF extends com.foreach.across.modules.web.ui.elements.builder.AbstractNodeViewElementBuilder<T,SELF>>
extends com.foreach.across.modules.web.ui.elements.builder.AbstractNodeViewElementBuilder<T,SELF>
| Constructor and Description |
|---|
AbstractHtmlSupportingNodeViewElementBuilder() |
| Modifier and Type | Method and Description |
|---|---|
SELF |
escapeHtml(boolean escapeHtml)
Should text properties that this builder supports have HTML escaped?
By default HTML is escaped.
|
protected boolean |
isEscapeHtml() |
protected com.foreach.across.modules.web.ui.elements.TextViewElement |
resolveTextElement(String text,
com.foreach.across.modules.web.ui.ViewElementBuilderContext builderContext)
Create a
TextViewElement for a text string. |
protected com.foreach.across.modules.web.ui.elements.TextViewElement |
toTextElement(String text)
Create a
TextViewElement for a text string. |
apply, 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 AbstractHtmlSupportingNodeViewElementBuilder()
public SELF escapeHtml(boolean escapeHtml)
escapeHtml - true if should be escapedprotected boolean isEscapeHtml()
protected com.foreach.across.modules.web.ui.elements.TextViewElement resolveTextElement(String text, com.foreach.across.modules.web.ui.ViewElementBuilderContext builderContext)
TextViewElement for a text string.
Will first resolve the text using the LocalizedTextResolver
and will escape HTML depending on the value set using escapeHtml(boolean).text - to create an element forbuilderContext - being usedprotected com.foreach.across.modules.web.ui.elements.TextViewElement toTextElement(String text)
TextViewElement for a text string.
Will escape HTML depending on the value set using escapeHtml(boolean).text - to create an element forCopyright © 2020. All rights reserved.