public class RichTextElement extends TextElement
The value of a Rich text element is formatted text.
Besides formatted text in the element's value attribute, Rich text elements can contain inline images and links to other content items.
| Constructor and Description |
|---|
RichTextElement() |
| Modifier and Type | Method and Description |
|---|---|
protected boolean |
canEqual(java.lang.Object other) |
boolean |
equals(java.lang.Object o) |
java.util.Map<java.lang.String,Image> |
getImages()
Images associated with this rich text element.
|
java.util.List<java.lang.String> |
getLinkedItems() |
java.util.Map<java.lang.String,Link> |
getLinks()
Links associated with this rich text element.
|
int |
hashCode() |
void |
setImages(java.util.Map<java.lang.String,Image> images)
Images associated with this rich text element.
|
void |
setLinkedItems(java.util.List<java.lang.String> linkedItems) |
void |
setLinks(java.util.Map<java.lang.String,Link> links)
Links associated with this rich text element.
|
java.lang.String |
toString() |
getValue, setValuegetCodeName, getName, getParent, getType, setCodeName, setName, setParent, setTypepublic java.util.Map<java.lang.String,Image> getImages()
public java.util.Map<java.lang.String,Link> getLinks()
Each object in the links collection represents a content item ID in the GUID format, e.g., f4b3fc05-e988-4dae-9ac1-a94aba566474.
Link objects.public java.util.List<java.lang.String> getLinkedItems()
public void setImages(java.util.Map<java.lang.String,Image> images)
images - Sets the images of this.Imagepublic void setLinks(java.util.Map<java.lang.String,Link> links)
Each object in the links collection represents a content item ID in the GUID format, e.g., f4b3fc05-e988-4dae-9ac1-a94aba566474.
links - Sets the links of this.public void setLinkedItems(java.util.List<java.lang.String> linkedItems)
public java.lang.String toString()
toString in class TextElementpublic boolean equals(java.lang.Object o)
equals in class TextElementprotected boolean canEqual(java.lang.Object other)
canEqual in class TextElementpublic int hashCode()
hashCode in class TextElement