org.camunda.bpm.engine.impl.form.engine
Class HtmlElementWriter
java.lang.Object
org.camunda.bpm.engine.impl.form.engine.HtmlElementWriter
public class HtmlElementWriter
- extends Object
Simple writer for html elements. Used by the HtmlDocumentBuilder.
- Author:
- Daniel Meyer
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
tagName
protected String tagName
isSelfClosing
protected boolean isSelfClosing
- selfClosing means that the element should not be rendered as a
start + end tag pair but as a single tag using "/" to close the tag
inline
textContent
protected String textContent
attributes
protected Map<String,String> attributes
HtmlElementWriter
public HtmlElementWriter(String tagName)
HtmlElementWriter
public HtmlElementWriter(String tagName,
boolean isSelfClosing)
writeStartTag
public void writeStartTag(HtmlDocumentBuilder.HtmlWriteContext context)
writeContent
public void writeContent(HtmlDocumentBuilder.HtmlWriteContext context)
writeEndTag
public void writeEndTag(HtmlDocumentBuilder.HtmlWriteContext context)
writeEndTagElement
protected void writeEndTagElement(HtmlDocumentBuilder.HtmlWriteContext context)
writeTextContent
protected void writeTextContent(HtmlDocumentBuilder.HtmlWriteContext context)
writeStartTagOpen
protected void writeStartTagOpen(HtmlDocumentBuilder.HtmlWriteContext context)
writeAttributes
protected void writeAttributes(HtmlDocumentBuilder.HtmlWriteContext context)
writeEndLine
protected void writeEndLine(HtmlDocumentBuilder.HtmlWriteContext context)
writeStartTagClose
protected void writeStartTagClose(HtmlDocumentBuilder.HtmlWriteContext context)
writeLeadingWhitespace
protected void writeLeadingWhitespace(HtmlDocumentBuilder.HtmlWriteContext context)
attribute
public HtmlElementWriter attribute(String name,
String value)
textContent
public HtmlElementWriter textContent(String text)
Copyright © 2015 camunda services GmbH. All rights reserved.