public class Select extends FormElement implements LabelableElement
| Modifier and Type | Field and Description |
|---|---|
static String |
ELEMENT_ID |
static String |
MESSAGEML_TAG |
INPUT_TAG, NAME_ATTR, TYPE_ATTRCLASS_ATTR, format, ID_ATTR, STYLE_ATTRLABEL, LABEL_FOR, LABEL_MAX_LENGTH, LABEL_TOO_LONG_ERR| Modifier and Type | Method and Description |
|---|---|
org.commonmark.node.Node |
asMarkdown()
Return Markdown representation of the element as
Node. |
protected void |
buildAttribute(MessageMLParser parser,
Node item)
Parse a DOM attribute into MessageML element properties.
|
String |
getElementId() |
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, throwInvalidInputExceptionclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetAttribute, getLabelAttribute, getPresentationMLLabelTag, isLabel, labelAsPresentationML, validateLabelpublic static final String MESSAGEML_TAG
public static final String ELEMENT_ID
public Select(Element parent)
public org.commonmark.node.Node asMarkdown()
ElementNode.public void validate()
throws InvalidInputException
Elementvalidate in class FormElementInvalidInputExceptionprotected void buildAttribute(MessageMLParser parser, Node item) throws InvalidInputException
ElementInvalidInputExceptionpublic String getElementId()
getElementId in interface LabelableElementCopyright © 2020 The Symphony Software Foundation. All rights reserved.