| Interface | Description |
|---|---|
| LabelableElement |
Interface to add label to elements
Simply implement it into the element when you want to add label support
Beware:
If the element implementing this interface overrides
Element.buildAttribute(org.symphonyoss.symphony.messageml.MessageMLParser, org.w3c.dom.Node) and/or Element.asPresentationML(XmlPrintStream out,
MessageMLContext context) without calling super, it is needed to manage manually LABEL attribute and SplittableElement.splittableAsPresentationML(XmlPrintStream out,
MessageMLContext context) method |
| MinMaxLengthElement |
Interface to add minlength and maxlength attributes to elements
Simply implement this interface into the element to support the two attributes
Beware:
If the element implementing this interface overrides
Element.buildAttribute(org.symphonyoss.symphony.messageml.MessageMLParser, org.w3c.dom.Node)
without calling super, it is needed to manage manually MINLENGTH_ATTR, MAXLENGTH_ATTR attributes |
| RegexElement |
Interface to add regex pattern to elements, thus the following attributes:
pattern (the regex, it will be tested if it compiles), not mandatory
pattern-error-message, mandatory when pattern is added (in PresentationML it is translated to data-pattern-error-message)
Simply implement it into the element when you want to add regex support
Beware:
If the element implementing this interface overrides
Element.validate() and/or Element.buildAttribute(org.symphonyoss.symphony.messageml.MessageMLParser, Node) and/or Element.asPresentationML(XmlPrintStream, org.symphonyoss.symphony.messageml.MessageMLContext)
without calling super, it is needed to manage manually PATTERN_ATTR and PATTERN_ERROR_MESSAGE_ATTR in these methods |
| SplittableElement | |
| TooltipableElement |
Interface to add tooltip to elements
Simply implement it into the element when you want to add tooltip support
Beware:
If the element implementing this interface overrides
Element.buildAttribute(org.symphonyoss.symphony.messageml.MessageMLParser, org.w3c.dom.Node)
and/or Element.asPresentationML(XmlPrintStream out, MessageMLContext context) without calling super,
it is needed to manage manually TITLE attribute and SplittableElement.splittableAsPresentationML(XmlPrintStream out, MessageMLContext context) method |
| Class | Description |
|---|---|
| Bold |
Class representing bold text.
|
| BulletList |
Class representing a bulleted list container.
|
| Button |
Class representing a Symphony Elements button
|
| Card |
Class representing a convenience element which has a number of visual elements and which can be opened and closed.
|
| CardBody |
Class representing a convenience element for a card body container.
|
| CardHeader |
Class representing a convenience element for a card header container.
|
| CashTag |
Class representing a convenience element for a cash tag.
|
| Checkbox |
Class representing a Checkbox inside a Form.
|
| Chime |
Class representing a convenience element for a chime.
|
| Code |
Class representing a block container for block or inline content.
|
| DateSelector |
Class representing a date-selector element inside a Symphony Elements form.
|
| Div |
Class representing a block container for block or inline content.
|
| Element |
Base class for MessageML elements.
|
| Emoji |
Class representing an emoji
|
| Entity | |
| Form |
Class representing a Symphony Elements form
|
| FormElement | |
| GroupedElement | |
| HashTag |
Class representing a convenience element for a hash tag.
|
| Header |
Class representing a section heading of level 1-6.
|
| HorizontalRule |
Class representing a horizontal rule.
|
| Image |
Class representing an image.
|
| Italic |
Class representing italics text.
|
| LineBreak |
Class representing a line break.
|
| Link |
Class representing a link.
|
| ListItem |
Class representing a list item.
|
| Mention |
Class representing a convenience element for a user mention.
|
| MessageML |
Class representing a MessageML document (i.e.
|
| Option |
Class representing a Symphony Elements option
|
| OrderedList |
Class representing an ordered list container.
|
| Paragraph |
Class representing a paragraph.
|
| PersonSelector |
Class representing a person selector inside a Symphony Elements form.
|
| Preformatted |
Class representing preformatted text.
|
| Radio |
Class representing Radio Buttons - Symphony Elements.
|
| Select |
Class representing dropdown menu - Symphony Elements.
|
| Span |
Class representing an inline container for inline content.
|
| Styles |
Static set of styles for the style Global Attribute
|
| Table |
Class representing a table container.
|
| TableBody |
Class representing a table body container.
|
| TableCell |
Class representing a table cell container.
|
| TableFooter |
Class representing a table footer container.
|
| TableHeader |
Class representing a table header container.
|
| TableHeaderCell |
Class representing a table header cell container.
|
| TableRow |
Class representing a table row container.
|
| TextArea |
Class representing a Text Area inside a Form.
|
| TextField |
Class representing a Text Field inside a Form.
|
| TextNode |
Class representing text content.
|
| Enum | Description |
|---|---|
| FormatEnum |
For elements which have a different representaion in MessageML and PresentationML ("convenience tags"), this enum is used
to determine in which format the element was provided.
|
Copyright © 2020 The Symphony Software Foundation. All rights reserved.