public class Form extends Element
| Modifier and Type | Field and Description |
|---|---|
static String |
MESSAGEML_TAG |
CLASS_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(MessageMLParser parser,
Node item)
Parse a DOM attribute into MessageML element properties.
|
Boolean |
hasIdAttribute()
Informs if the element has an "id" attribute.
|
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, size, throwInvalidInputExceptionpublic static final String MESSAGEML_TAG
public Form(Element parent)
public Boolean hasIdAttribute()
ElementhasIdAttribute in class Elementpublic void validate()
throws InvalidInputException
ElementInvalidInputExceptionprotected void buildAttribute(MessageMLParser parser, Node item) throws InvalidInputException
ElementInvalidInputExceptionpublic org.commonmark.node.Node asMarkdown()
ElementNode.Copyright © 2020 The Symphony Software Foundation. All rights reserved.