Class DialogChild
- java.lang.Object
-
- org.symphonyoss.symphony.messageml.elements.Element
-
- org.symphonyoss.symphony.messageml.elements.DialogChild
-
- Direct Known Subclasses:
DialogChild.Body,DialogChild.Footer,DialogChild.Title
public abstract class DialogChild extends Element
This class is a base abstract representing all children of the Symphony Element Dialog whose tag is "dialog" of typeDialog. They must not have any attribute and can contain any non-interactive element except form and dialog.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classDialogChild.BodyThis class represent the "body" element under the Symphony Element Dialog of tag "dialog".static classDialogChild.FooterThis class represent the "footer" element under the Symphony Element Dialog of tag "dialog".static classDialogChild.TitleThis class represent the "title" element under the Symphony Element Dialog of tag "dialog".
-
Field Summary
Fields Modifier and Type Field Description static StringDIALOG_CLASS_PREFIX-
Fields inherited from class org.symphonyoss.symphony.messageml.elements.Element
CLASS_ATTR, format, ID_ATTR, ID_MAX_LENGTH, MAPPER, STYLE_ATTR
-
-
Constructor Summary
Constructors Constructor Description DialogChild(Element parent, String messageMLTag, FormatEnum format)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidasPresentationML(XmlPrintStream out, MessageMLContext context)voidvalidate()-
Methods inherited from class org.symphonyoss.symphony.messageml.elements.Element
addChild, areNestedElementsAllowed, asText, buildAll, buildNode, checkIntegerAttribute, countChildrenOfType, countNonTextNodesInNodeList, findElements, findElements, findElements, getAttribute, getAttributes, getChild, getChildren, getFormat, getMessageMLTag, getParent, getPresentationMLTag, getStringAttribute, hasExactNumberOfChildren, hasIdAttribute, putIntegerIfPresent, putOneIfPresent, putStringIfPresent, size, throwInvalidInputException
-
-
-
-
Field Detail
-
DIALOG_CLASS_PREFIX
public static final String DIALOG_CLASS_PREFIX
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
DialogChild
public DialogChild(Element parent, String messageMLTag, FormatEnum format)
-
-
Method Detail
-
validate
public void validate() throws InvalidInputException- Throws:
InvalidInputException
-
asPresentationML
public void asPresentationML(XmlPrintStream out, MessageMLContext context)
-
-