| Package | Description |
|---|---|
| org.symphonyoss.symphony.messageml | |
| org.symphonyoss.symphony.messageml.elements | |
| org.symphonyoss.symphony.messageml.markdown |
| Class and Description |
|---|
| Element
Base class for MessageML elements.
|
| MessageML
Class representing a MessageML document (i.e.
|
| Class and Description |
|---|
| Element
Base class for MessageML elements.
|
| Entity |
| 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.
|
| FormElement |
| GroupedElement |
| 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 LabelableElement.labelAsPresentationML(XmlPrintStream out,
MessageMLContext context) method |
| 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 |
| Class and Description |
|---|
| MessageML
Class representing a MessageML document (i.e.
|
Copyright © 2020 The Symphony Software Foundation. All rights reserved.