Uses of Class
io.wcm.handler.commons.dom.HtmlElement
-
Packages that use HtmlElement Package Description io.wcm.handler.commons.dom DOM convenience objects used by handler implementations to build markup fragments for links and media. -
-
Uses of HtmlElement in io.wcm.handler.commons.dom
Subclasses of HtmlElement in io.wcm.handler.commons.dom Modifier and Type Class Description classAbstractNonSelfClosingHtmlElementHtml element wrapper tags that must not rendered self-closing to avoid problems in certain browsers.classAnchorHtml anchor (a) element.classAreaHtml area element.classAudioHtml audio (audio) element.classDivHtml div element.classFigCaptionHtml figure caption (figcaption) element.classFigureHtml figure (figure) element.classImageHtml image (img) element.classMapHtml map element.classNoScriptHtml noscript element.classPictureHtml picture element.classScriptHtml script element.classSourceHtml source (source) element.classSpanHtml span element.classVideoHtml video (video) element.Methods in io.wcm.handler.commons.dom with type parameters of type HtmlElement Modifier and Type Method Description <HtmlElementType extends HtmlElement>
HtmlElementTypeHtmlElement. add(HtmlElementType element)Appends the child to the end of the element's content list.Methods in io.wcm.handler.commons.dom that return HtmlElement Modifier and Type Method Description HtmlElementHtmlElement. addCssClass(java.lang.String value)Html "class" attribute.HtmlElementAbstractHtmlElementFactory. create(java.lang.String elementName)Creates and adds html element.HtmlElementHtmlElement. setCssClass(java.lang.String value)Sets Html "class" attribute - unless you're really sure that you want to replace existing classes, you probably should calladdCssClass(String)instead.HtmlElementHtmlElement. setData(java.lang.String attributeName, java.lang.String value)Custom Html5 "data-*" attribute.protected HtmlElementHtmlElement. setEmptyAttributeValueAsBoolean(java.lang.String attributeName, boolean value)Sets "empty" attribute value as boolean (i.e. for "checked" attribute).HtmlElementHtmlElement. setId(java.lang.String value)Html "id" attribute.HtmlElementHtmlElement. setStyle(java.lang.String styleAttribute, java.lang.String styleValue)Html "style" attribute.HtmlElementHtmlElement. setStyleString(java.lang.String value)Html "style" attribute.HtmlElementHtmlElement. setTitle(java.lang.String value)Html "title" attribute.
-