| Modifier and Type | Field and Description |
|---|---|
static String |
ENTITY_ID_ATTR |
static String |
ID_FIELD |
static String |
PRESENTATIONML_CLASS |
static String |
TYPE_FIELD |
static String |
VALUE_FIELD |
CLASS_ATTR, format, STYLE_ATTR| Modifier and Type | Method and Description |
|---|---|
com.fasterxml.jackson.databind.node.ObjectNode |
asEntityJson(com.fasterxml.jackson.databind.node.ObjectNode parent)
Return the EntityJSON representation of the node.
|
protected void |
buildAttribute(Node item)
Parse a DOM attribute into MessageML element properties.
|
protected abstract String |
getEntityIdPrefix() |
protected abstract String |
getEntitySubType() |
protected abstract String |
getEntityType() |
protected abstract String |
getEntityValue() |
protected abstract String |
getEntityVersion() |
String |
getPresentationMLTag()
Return the element's PresentationML tag.
|
void |
validate()
Check the syntax and contents of the element.
|
addChild, areNestedElementsAllowed, asText, buildAll, buildNode, countNonTextNodesInNodeList, findElements, findElements, findElements, getAttribute, getAttributes, getChild, getChildren, getFormat, getMessageMLTag, getParent, hasExactNumberOfChildren, hasIdAttribute, sizepublic static final String PRESENTATIONML_CLASS
public static final String ENTITY_ID_ATTR
public static final String TYPE_FIELD
public static final String VALUE_FIELD
public static final String ID_FIELD
protected void buildAttribute(Node item) throws InvalidInputException
ElementInvalidInputExceptionpublic com.fasterxml.jackson.databind.node.ObjectNode asEntityJson(com.fasterxml.jackson.databind.node.ObjectNode parent)
Elementpublic void validate()
throws InvalidInputException
ElementInvalidInputExceptionpublic String getPresentationMLTag()
ElementgetPresentationMLTag in class Elementprotected abstract String getEntityValue()
protected abstract String getEntitySubType()
protected abstract String getEntityVersion()
protected abstract String getEntityType()
protected abstract String getEntityIdPrefix()
Copyright © 2020 The Symphony Software Foundation. All rights reserved.