public class PersonSelector extends FormElement implements LabelableElement, TooltipableElement
| Modifier and Type | Field and Description |
|---|---|
static String |
MESSAGEML_TAG |
INPUT_TAG, NAME_ATTR, TYPE_ATTRformat, ID_ATTR, STYLE_ATTRLABEL, LABEL_FOR, LABEL_MAX_LENGTH, LABEL_TOO_LONG_ERRDATA_TARGET_ID, DATA_TITLE, TITLE, TOOLTIP_CLASS, TOOLTIP_MAX_LENGTH, TOOLTIP_TOO_LONG_ERR, TOOLTIPABLE_PRESENTATIONMLPRESENTATIONML_DIV_FLAG| Constructor and Description |
|---|
PersonSelector(Element parent,
FormatEnum messageFormat) |
| Modifier and Type | Method and Description |
|---|---|
org.commonmark.node.Node |
asMarkdown()
Return Markdown representation of the element as
Node. |
void |
asPresentationML(XmlPrintStream out,
MessageMLContext context)
Print a PresentationML representation of the element and its children to the provided PrintStream.
|
void |
buildAll(MessageMLParser parser,
Element element)
Process a DOM element, descending into its children, and construct the output MessageML tree.
|
protected void |
buildAttribute(MessageMLParser parser,
Node item)
Parse a DOM attribute into MessageML element properties.
|
String |
getElementId() |
String |
getPresentationMLTag()
Return the element's PresentationML tag.
|
void |
validate()
Check the syntax and contents of the element.
|
addChild, areNestedElementsAllowed, asText, buildNode, countNonTextNodesInNodeList, findElements, findElements, findElements, getAttribute, getAttributes, getChild, getChildren, getFormat, getMessageMLTag, getParent, getStringAttribute, hasExactNumberOfChildren, hasIdAttribute, size, throwInvalidInputExceptionclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetLabelAttribute, getPresentationMLLabelTag, isLabel, isLabelNode, validateLabelgetPresentationMLTooltipTag, getTooltipAttributes, isTooltip, isTooltipNode, validateTooltipfillAttributes, fillAttributes, getAttribute, getAttributes, getStringAttribute, isSplittable, isSplittableNodeComponent, splittableAsPresentationML, splittableRemove, validateSplittablepublic static final String MESSAGEML_TAG
public PersonSelector(Element parent, FormatEnum messageFormat)
public void buildAll(MessageMLParser parser, Element element) throws InvalidInputException, ProcessingException
ElementbuildAll in class ElementInvalidInputExceptionProcessingExceptionpublic void validate()
throws InvalidInputException
Elementvalidate in class FormElementInvalidInputExceptionpublic void asPresentationML(XmlPrintStream out, MessageMLContext context)
Elementpublic org.commonmark.node.Node asMarkdown()
ElementNode.protected void buildAttribute(MessageMLParser parser, Node item) throws InvalidInputException
ElementInvalidInputExceptionpublic String getPresentationMLTag()
ElementgetPresentationMLTag in class Elementpublic String getElementId()
getElementId in interface SplittableElementCopyright © 2020 The Symphony Software Foundation. All rights reserved.