public class Code extends Element
| Modifier and Type | Field and Description |
|---|---|
static char |
MARKDOWN_DELIMITER_CHAR |
static int |
MARKDOWN_DELIMITER_LENGTH |
static String |
MESSAGEML_TAG |
CLASS_ATTR, format, ID_ATTR, STYLE_ATTR| Modifier and Type | Method and Description |
|---|---|
org.commonmark.node.Node |
asMarkdown()
Return Markdown representation of the element as
Node. |
void |
validate()
Check the syntax and contents of the element.
|
addChild, areNestedElementsAllowed, asText, buildAll, buildNode, countNonTextNodesInNodeList, findElements, findElements, findElements, getAttribute, getAttributes, getChild, getChildren, getFormat, getMessageMLTag, getParent, getPresentationMLTag, getStringAttribute, hasExactNumberOfChildren, hasIdAttribute, size, throwInvalidInputExceptionpublic static final String MESSAGEML_TAG
public static final char MARKDOWN_DELIMITER_CHAR
public static final int MARKDOWN_DELIMITER_LENGTH
public Code(Element parent)
public org.commonmark.node.Node asMarkdown()
ElementNode.public void validate()
throws InvalidInputException
ElementInvalidInputExceptionCopyright © 2020 The Symphony Software Foundation. All rights reserved.