public class Button extends FormElement
| Modifier and Type | Field and Description |
|---|---|
static String |
MESSAGEML_TAG |
static String |
NAME_ATTR |
static String |
TYPE_ATTR |
static Set<String> |
VALID_CLASSES |
static Set<String> |
VALID_TYPES |
CLASS_ATTR, format, STYLE_ATTR| Modifier and Type | Method and Description |
|---|---|
org.commonmark.node.Node |
asMarkdown()
Return Markdown representation of the element as
Node. |
void |
buildAttribute(Node item)
Parse a DOM attribute into MessageML element properties.
|
void |
validate()
Check the syntax and contents of the element.
|
assertParentaddChild, asText, buildAll, findElements, findElements, findElements, getAttribute, getAttributes, getChild, getChildren, getFormat, getMessageMLTag, getParent, sizepublic static final String MESSAGEML_TAG
public static final String NAME_ATTR
public static final String TYPE_ATTR
public Button(Element parent)
public void buildAttribute(Node item) throws InvalidInputException
ElementInvalidInputExceptionpublic org.commonmark.node.Node asMarkdown()
ElementNode.public void validate()
throws InvalidInputException
Elementvalidate in class FormElementInvalidInputExceptionCopyright © 2019 The Symphony Software Foundation. All rights reserved.