public class TextArea extends FormElement implements RegexElement
| Modifier and Type | Field and Description |
|---|---|
static String |
MESSAGEML_TAG |
INPUT_TAG, NAME_ATTR, TYPE_ATTRCLASS_ATTR, format, STYLE_ATTRALL_REGEX_ATTRS, ATTRIBUTE_MANDATORY_WHEN_ATTRIBUTE_DEFINED_ERR, ATTRIBUTE_TOO_LONG_ERR, PATTERN_ATTR, PATTERN_ERROR_MESSAGE_ATTR, PATTERN_ERROR_MESSAGE_MAX_LENGTH, PATTERN_MAX_LENGTH, PRESENTATIONML_PATTERN_ERROR_MESSAGE_ATTR, REGEX_NOT_VALID_ERR| 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, areNestedElementsAllowed, asText, buildAll, buildNode, countNonTextNodesInNodeList, findElements, findElements, findElements, getAttribute, getAttributes, getChild, getChildren, getFormat, getMessageMLTag, getParent, getPresentationMLTag, hasExactNumberOfChildren, hasIdAttribute, sizeclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetAttribute, getAttributes, getOtherAttributes, getRegexAttrForPresentationML, validateRegexpublic static final String MESSAGEML_TAG
public TextArea(Element parent)
public void validate()
throws InvalidInputException
Elementvalidate in class FormElementInvalidInputExceptionprotected void buildAttribute(Node item) throws InvalidInputException
ElementInvalidInputExceptionpublic org.commonmark.node.Node asMarkdown()
ElementNode.Copyright © 2020 The Symphony Software Foundation. All rights reserved.