public class Image extends Element
| Modifier and Type | Field and Description |
|---|---|
static String |
MESSAGEML_TAG |
CLASS_ATTR, format, ID_ATTR, STYLE_ATTR| Modifier and Type | Method and Description |
|---|---|
boolean |
areNestedElementsAllowed()
Return true if nested elements are allowed
By default true, override to false for elements that dont support nested elements
|
protected void |
buildAttribute(MessageMLParser parser,
Node item)
Parse a DOM attribute into MessageML element properties.
|
void |
validate()
Check the syntax and contents of the element.
|
addChild, asText, buildAll, buildNode, countNonTextNodesInNodeList, findElements, findElements, findElements, getAttribute, getAttributes, getChild, getChildren, getFormat, getMessageMLTag, getParent, getPresentationMLTag, getStringAttribute, hasExactNumberOfChildren, hasIdAttribute, size, throwInvalidInputExceptionpublic static final String MESSAGEML_TAG
public Image(Element parent)
protected void buildAttribute(MessageMLParser parser, Node item) throws InvalidInputException
ElementInvalidInputExceptionpublic void validate()
throws InvalidInputException
ElementInvalidInputExceptionpublic boolean areNestedElementsAllowed()
ElementareNestedElementsAllowed in class ElementCopyright © 2020 The Symphony Software Foundation. All rights reserved.