Class MetaWebResourceBuilder
java.lang.Object
com.foreach.across.modules.web.ui.ViewElementBuilderSupport<T,SELF>
com.foreach.across.modules.web.ui.elements.builder.AbstractVoidNodeViewElementBuilder<VoidNodeViewElement,MetaWebResourceBuilder>
com.foreach.across.modules.web.resource.elements.MetaWebResourceBuilder
- All Implemented Interfaces:
WebResourceKeyProvider
,HtmlViewElementBuilder<VoidNodeViewElement,
,MetaWebResourceBuilder> ViewElementBuilder<VoidNodeViewElement>
public class MetaWebResourceBuilder
extends AbstractVoidNodeViewElementBuilder<VoidNodeViewElement,MetaWebResourceBuilder>
implements WebResourceKeyProvider
Builder class for creating a
ViewElement
of tag - Since:
- 3.2.0
- Author:
- Marc Vanbrabant
-
Nested Class Summary
Nested classes/interfaces inherited from class com.foreach.across.modules.web.ui.ViewElementBuilderSupport
ViewElementBuilderSupport.ElementOrBuilder
Nested classes/interfaces inherited from interface com.foreach.across.modules.web.ui.ViewElementBuilder
ViewElementBuilder.Wither<T extends ViewElementBuilder>
-
Field Summary
Fields inherited from class com.foreach.across.modules.web.ui.ViewElementBuilderSupport
customTemplate, name
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptioncreateElement
(@NonNull ViewElementBuilderContext builderContext) Thename
attribute for the meta tag, if not set explicitly, will be the same asname(String)
.Short hand for a http-equiv refresh tagMethods inherited from class com.foreach.across.modules.web.ui.elements.builder.AbstractVoidNodeViewElementBuilder
apply, attribute, attributes, clearAttributes, css, htmlId, removeAttribute, removeCss
Methods inherited from class com.foreach.across.modules.web.ui.ViewElementBuilderSupport
build, configure, customTemplate, elementSupplier, elementSupplier, postProcess, postProcessor, registerWebResources, with
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.foreach.across.modules.web.ui.elements.builder.HtmlViewElementBuilder
data, removeData
Methods inherited from interface com.foreach.across.modules.web.ui.ViewElementBuilder
andThen, build, doWith, map, map, postProcess, postProcess
-
Constructor Details
-
MetaWebResourceBuilder
public MetaWebResourceBuilder()
-
-
Method Details
-
name
- Overrides:
name
in classViewElementBuilderSupport<VoidNodeViewElement,
MetaWebResourceBuilder>
-
refresh
Short hand for a http-equiv refresh tag -
getWebResourceKey
- Specified by:
getWebResourceKey
in interfaceWebResourceKeyProvider
- Returns:
- the key that should be used for identifying the web resource
-
createElement
public VoidNodeViewElement createElement(@NonNull @NonNull ViewElementBuilderContext builderContext) - Specified by:
createElement
in classViewElementBuilderSupport<VoidNodeViewElement,
MetaWebResourceBuilder>
-
metaName
Thename
attribute for the meta tag, if not set explicitly, will be the same asname(String)
.- Returns:
this
.
-
content
- Returns:
this
.
-
httpEquiv
- Returns:
this
.
-