public class Chime extends Element
| Modifier and Type | Field and Description |
|---|---|
static String |
MESSAGEML_TAG |
static String |
PRESENTATIONML_TAG |
CLASS_ATTR, format, ID_ATTR, STYLE_ATTR| Constructor and Description |
|---|
Chime(Element parent,
FormatEnum format) |
| Modifier and Type | Method and Description |
|---|---|
void |
asPresentationML(XmlPrintStream out,
MessageMLContext context)
Print a PresentationML representation of the element and its children to the provided PrintStream.
|
String |
asText()
Return a text representation of the element, descending into its children.
|
protected void |
buildAttribute(MessageMLParser parser,
Node item)
Parse a DOM attribute into MessageML element properties.
|
String |
getPresentationMLTag()
Return the element's PresentationML tag.
|
void |
validate()
Check the syntax and contents of the element.
|
addChild, areNestedElementsAllowed, buildAll, buildNode, countNonTextNodesInNodeList, findElements, findElements, findElements, getAttribute, getAttributes, getChild, getChildren, getFormat, getMessageMLTag, getParent, getStringAttribute, hasExactNumberOfChildren, hasIdAttribute, size, throwInvalidInputExceptionpublic static final String MESSAGEML_TAG
public static final String PRESENTATIONML_TAG
public Chime(Element parent, FormatEnum format) throws InvalidInputException
InvalidInputExceptionprotected void buildAttribute(MessageMLParser parser, Node item) throws InvalidInputException
ElementInvalidInputExceptionpublic void asPresentationML(XmlPrintStream out, MessageMLContext context)
Elementpublic String asText()
Elementpublic void validate()
throws InvalidInputException
ElementInvalidInputExceptionpublic String getPresentationMLTag()
ElementgetPresentationMLTag in class ElementCopyright © 2020 The Symphony Software Foundation. All rights reserved.