Uses of Class
org.symphonyoss.symphony.messageml.exceptions.InvalidInputException
-
-
Uses of InvalidInputException in org.symphonyoss.symphony.messageml
Methods in org.symphonyoss.symphony.messageml that throw InvalidInputException Modifier and Type Method Description ElementMessageMLParser. createElement(Element element, Element parent)Create a MessageML element based on the DOM element's name and attributes.StringMessageMLContext. getText()Retrieve a string representation of the message by getting the values of its PresentationML elements.StringMessageMLContext. getText(boolean preserveWhitespace)Retrieve a string representation of the message by getting the values of its PresentationML elements.voidMessageMLContext. parseMarkdown(String message, com.fasterxml.jackson.databind.JsonNode entities, com.fasterxml.jackson.databind.JsonNode media)Parse a Markdown message into its MessageMLV2 representation.voidMessageMLContext. parseMessageML(String message, String entityJson, String version)Parse the text contents of the message and optionally EntityJSON into a MessageMLV2 message. -
Uses of InvalidInputException in org.symphonyoss.symphony.messageml.elements
Methods in org.symphonyoss.symphony.messageml.elements that throw InvalidInputException Modifier and Type Method Description org.commonmark.node.NodeEmoji. asMarkdown()org.commonmark.node.NodeMention. asMarkdown()org.commonmark.node.DocumentMessageML. asMarkdown()org.commonmark.node.NodePreformatted. asMarkdown()voidElement. buildAll(MessageMLParser context, Element element)Process a DOM element, descending into its children, and construct the output MessageML tree.voidButton. buildAttribute(Node item)protected voidCard. buildAttribute(Node item)protected voidChime. buildAttribute(Node item)protected voidDiv. buildAttribute(Node item)protected voidEmoji. buildAttribute(Node item)protected voidEntity. buildAttribute(Node item)protected voidImage. buildAttribute(Node item)protected voidLink. buildAttribute(Node item)protected voidMention. buildAttribute(Node item)protected voidMessageML. buildAttribute(Node item)protected voidSpan. buildAttribute(Node item)voidBold. validate()voidBulletList. validate()voidButton. validate()voidChime. validate()voidCode. validate()voidDiv. validate()voidEmoji. validate()voidEntity. validate()voidHeader. validate()voidHorizontalRule. validate()voidImage. validate()voidItalic. validate()voidLineBreak. validate()voidLink. validate()voidMention. validate()voidMessageML. validate()voidOrderedList. validate()voidPreformatted. validate()voidSpan. validate()static voidStyles. validate(String styleAttribute)Validate that the input style attribute is allowedvoidTable. validate()voidTableBody. validate()voidTableFooter. validate()voidTableHeader. validate()voidTableRow. validate()Constructors in org.symphonyoss.symphony.messageml.elements that throw InvalidInputException Constructor Description Chime(Element parent, FormatEnum format)Link(Element parent, String href, IDataProvider dataProvider)Link(Element parent, IDataProvider dataProvider) -
Uses of InvalidInputException in org.symphonyoss.symphony.messageml.markdown
Methods in org.symphonyoss.symphony.messageml.markdown that throw InvalidInputException Modifier and Type Method Description MessageMLMarkdownParser. 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. -
Uses of InvalidInputException in org.symphonyoss.symphony.messageml.util
Methods in org.symphonyoss.symphony.messageml.util that throw InvalidInputException Modifier and Type Method Description IUserPresentationIDataProvider. getUserPresentation(Long uid)Retrieve user information object based on UIDIUserPresentationIDataProvider. getUserPresentation(String emailAddress)Retrieve user information object based on user emailvoidIDataProvider. validateURI(URI uri)Check an URI against a whitelist of supported protocols.
-