public class Radio extends GroupedElement implements LabelableElement
| Modifier and Type | Field and Description |
|---|---|
static String |
MESSAGEML_TAG |
static String |
PRESENTATIONML_DIV_CLASS |
static String |
PRESENTATIONML_INPUT_TYPE |
CHECKED_ATTR, FOR_ATTR, PRESENTATIONML_LABEL_TAG, VALUE_ATTRINPUT_TAG, TYPE_ATTRCLASS_ATTR, format, ID_ATTR, STYLE_ATTRLABEL, LABEL_FOR, LABEL_MAX_LENGTH, LABEL_TOO_LONG_ERRPRESENTATIONML_DIV_FLAG| Constructor and Description |
|---|
Radio(Element parent,
FormatEnum messageFormat) |
| 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() |
protected String |
getPresentationMLDivClass() |
protected String |
getPresentationMLInputType() |
void |
validate()
Check the syntax and contents of the element.
|
asPresentationML, buildAll, buildElementAttrFromInputTag, buildElementFromGroupDiv, buildGroupedElementInputAttributesaddChild, areNestedElementsAllowed, asText, buildNode, countNonTextNodesInNodeList, findElements, findElements, findElements, getAttribute, getAttributes, getChild, getChildren, getFormat, getMessageMLTag, getParent, getPresentationMLTag, getStringAttribute, hasExactNumberOfChildren, hasIdAttribute, size, throwInvalidInputExceptionclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetLabelAttribute, getPresentationMLLabelTag, isLabel, isLabelNode, validateLabelfillAttributes, fillAttributes, getAttribute, getAttributes, getStringAttribute, isSplittable, isSplittableNodeComponent, splittableAsPresentationML, splittableRemove, validateSplittablepublic static final String MESSAGEML_TAG
public static final String PRESENTATIONML_INPUT_TYPE
public static final String PRESENTATIONML_DIV_CLASS
public Radio(Element parent, FormatEnum messageFormat)
public org.commonmark.node.Node asMarkdown()
ElementNode.public void validate()
throws InvalidInputException
Elementvalidate in class FormElementInvalidInputExceptionprotected void buildAttribute(MessageMLParser parser, Node item) throws InvalidInputException
ElementInvalidInputExceptionprotected String getPresentationMLInputType()
getPresentationMLInputType in class GroupedElementprotected String getPresentationMLDivClass()
getPresentationMLDivClass in class GroupedElementpublic String getElementId()
getElementId in interface SplittableElementCopyright © 2020 The Symphony Software Foundation. All rights reserved.