Uses of Package
org.symphonyoss.symphony.messageml.elements
-
Packages that use org.symphonyoss.symphony.messageml.elements Package Description org.symphonyoss.symphony.messageml org.symphonyoss.symphony.messageml.elements org.symphonyoss.symphony.messageml.markdown -
Classes in org.symphonyoss.symphony.messageml.elements used by org.symphonyoss.symphony.messageml Class Description Element Base class for MessageML elements.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.MessageML Class representing a MessageML document (i.e.SplittableElement -
Classes in org.symphonyoss.symphony.messageml.elements used by org.symphonyoss.symphony.messageml.elements Class Description DialogChild This class is a base abstract representing all children of the Symphony Element Dialog whose tag is "dialog" of typeDialog.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 overridesElement.buildAttribute(org.symphonyoss.symphony.messageml.MessageMLParser, org.w3c.dom.Node)and/orElement.asPresentationML(XmlPrintStream out, MessageMLContext context)without calling super, it is needed to manage manually LABEL attribute andSplittableElement.splittableAsPresentationML(XmlPrintStream out, MessageMLContext context)methodMinMaxLengthElement 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 overridesElement.buildAttribute(org.symphonyoss.symphony.messageml.MessageMLParser, org.w3c.dom.Node)without calling super, it is needed to manage manually MINLENGTH_ATTR, MAXLENGTH_ATTR attributesRegexElement 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 overridesElement.validate()and/orElement.buildAttribute(org.symphonyoss.symphony.messageml.MessageMLParser, Node)and/orElement.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 methodsSplittableElement 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 overridesElement.buildAttribute(org.symphonyoss.symphony.messageml.MessageMLParser, org.w3c.dom.Node)and/orElement.asPresentationML(XmlPrintStream out, MessageMLContext context)without calling super, it is needed to manage manually TITLE attribute andSplittableElement.splittableAsPresentationML(XmlPrintStream out, MessageMLContext context)method -
Classes in org.symphonyoss.symphony.messageml.elements used by org.symphonyoss.symphony.messageml.markdown Class Description MessageML Class representing a MessageML document (i.e.