public class Button extends FormElement
| Modifier and Type | Field and Description |
|---|---|
static String |
ACTION_TYPE |
static String |
MESSAGEML_TAG |
static String |
RESET_TYPE |
INPUT_TAG, NAME_ATTR, TYPE_ATTRCLASS_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 |
buildAttribute(MessageMLParser parser,
Node item)
Parse a DOM attribute into MessageML element properties.
|
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, hasExactNumberOfChildren, hasIdAttribute, size, throwInvalidInputExceptionpublic static final String MESSAGEML_TAG
public static final String ACTION_TYPE
public static final String RESET_TYPE
public Button(Element parent)
public void buildAttribute(MessageMLParser parser, Node item) throws InvalidInputException
ElementInvalidInputExceptionpublic org.commonmark.node.Node asMarkdown()
ElementNode.public void validate()
throws InvalidInputException
Elementvalidate in class FormElementInvalidInputExceptionCopyright © 2020 The Symphony Software Foundation. All rights reserved.