public class Option extends FormElement
| Modifier and Type | Field and Description |
|---|---|
static String |
MESSAGEML_TAG |
INPUT_TAG, NAME_ATTR, TYPE_ATTRCLASS_ATTR, format, STYLE_ATTR| Modifier and Type | Method and Description |
|---|---|
org.commonmark.node.Node |
asMarkdown()
Return Markdown representation of the element as
Node. |
protected void |
buildAttribute(Node item)
Parse a DOM attribute into MessageML element properties.
|
void |
validate()
Check the syntax and contents of the element.
|
addChild, asText, buildAll, buildNode, countNonTextNodesInNodeList, findElements, findElements, findElements, getAttribute, getAttributes, getChild, getChildren, getFormat, getMessageMLTag, getParent, hasExactNumberOfChildren, hasIdAttribute, sizepublic static final String MESSAGEML_TAG
public Option(Element parent)
public org.commonmark.node.Node asMarkdown()
ElementNode.public void validate()
throws InvalidInputException
Elementvalidate in class FormElementInvalidInputExceptionprotected void buildAttribute(Node item) throws InvalidInputException
ElementInvalidInputExceptionCopyright © 2020 The Symphony Software Foundation. All rights reserved.