public class LineBreak extends Element
| Modifier and Type | Field and Description |
|---|---|
static String |
MESSAGEML_TAG |
CLASS_ATTR, format, ID_ATTR, STYLE_ATTR| Modifier and Type | Method and Description |
|---|---|
boolean |
areNestedElementsAllowed()
Return true if nested elements are allowed
By default true, override to false for elements that dont support nested elements
|
org.commonmark.node.Node |
asMarkdown()
Return Markdown representation of the element as
Node. |
String |
asText()
Return a text representation of the element, descending into its children.
|
String |
toString() |
void |
validate()
Check the syntax and contents of the element.
|
addChild, buildAll, buildNode, countNonTextNodesInNodeList, findElements, findElements, findElements, getAttribute, getAttributes, getChild, getChildren, getFormat, getMessageMLTag, getParent, getPresentationMLTag, hasExactNumberOfChildren, hasIdAttribute, size, throwInvalidInputExceptionpublic static final String MESSAGEML_TAG
public LineBreak(Element parent)
public String asText()
Elementpublic org.commonmark.node.Node asMarkdown()
ElementNode.public void validate()
throws InvalidInputException
ElementInvalidInputExceptionpublic boolean areNestedElementsAllowed()
ElementareNestedElementsAllowed in class ElementCopyright © 2020 The Symphony Software Foundation. All rights reserved.