| Modifier and Type | Method and Description |
|---|---|
Element |
MessageMLParser.createElement(Element element,
Element parent)
Create a MessageML element based on the DOM element's name and attributes.
|
String |
MessageMLContext.getText()
Retrieve a string representation of the message by getting the values of
its PresentationML elements.
|
void |
MessageMLContext.parseMarkdown(String message,
com.fasterxml.jackson.databind.JsonNode entities,
com.fasterxml.jackson.databind.JsonNode media)
Parse a Markdown message into its MessageMLV2 representation.
|
void |
MessageMLContext.parseMessageML(String message,
String entityJson,
String version)
Parse the text contents of the message and optionally EntityJSON into a MessageMLV2 message.
|
| Modifier and Type | Method and Description |
|---|---|
org.commonmark.node.Node |
Mention.asMarkdown() |
org.commonmark.node.Document |
MessageML.asMarkdown() |
org.commonmark.node.Node |
Preformatted.asMarkdown() |
void |
Element.buildAll(MessageMLParser context,
Element element)
Process a DOM element, descending into its children, and construct the output MessageML tree.
|
protected void |
Entity.buildAttribute(Node item) |
protected void |
Div.buildAttribute(Node item) |
protected void |
Chime.buildAttribute(Node item) |
protected void |
Link.buildAttribute(Node item) |
protected void |
Mention.buildAttribute(Node item) |
protected void |
MessageML.buildAttribute(Node item) |
protected void |
Card.buildAttribute(Node item) |
protected void |
Span.buildAttribute(Node item) |
protected void |
Image.buildAttribute(Node item) |
void |
TableFooter.validate() |
void |
LineBreak.validate() |
void |
Entity.validate() |
void |
TableHeader.validate() |
void |
BulletList.validate() |
void |
Div.validate() |
void |
Chime.validate() |
void |
Link.validate() |
void |
Mention.validate() |
void |
Table.validate() |
void |
MessageML.validate() |
void |
TableBody.validate() |
void |
Header.validate() |
void |
TableRow.validate() |
void |
Preformatted.validate() |
void |
Span.validate() |
void |
OrderedList.validate() |
void |
HorizontalRule.validate() |
void |
Image.validate() |
| Constructor and Description |
|---|
Chime(Element parent,
FormatEnum format) |
Link(Element parent,
IDataProvider dataProvider) |
Link(Element parent,
String href,
IDataProvider dataProvider) |
| Modifier and Type | Method and Description |
|---|---|
MessageML |
MarkdownParser.parse(String message,
com.fasterxml.jackson.databind.JsonNode entities,
com.fasterxml.jackson.databind.JsonNode media)
Parse the Markdown message and entity JSON into a MessageML document.
|
| Modifier and Type | Method and Description |
|---|---|
IUserPresentation |
IDataProvider.getUserPresentation(Long uid)
Retrieve user information object based on UID
|
IUserPresentation |
IDataProvider.getUserPresentation(String emailAddress)
Retrieve user information object based on user email
|
void |
IDataProvider.validateURI(URI uri)
Check an URI against a whitelist of supported protocols.
|
Copyright © 2017 The Symphony Software Foundation. All rights reserved.