public class RichTextField extends AbstractField
RichText
metadata.AbstractField.MODE
Modifier and Type | Field and Description |
---|---|
private Map<String,Resource> |
_additionalData |
private String |
_content |
private String |
_format |
Constructor and Description |
---|
RichTextField(String content)
Creates a
RichTextField . |
Modifier and Type | Method and Description |
---|---|
Map<String,Resource> |
getAdditionalData()
Get the additional data.
|
String |
getContent()
Retrieves the content.
|
String |
getFormat()
Retrieves the content format.
|
void |
setAdditionalData(Map<String,Resource> addData)
Set the additional data.
|
void |
setFormat(String format)
Set the content format.
|
String |
toString() |
getMode, setMode, setMode
private Map<String,Resource> _additionalData
public RichTextField(String content)
RichTextField
.content
- the content.public String getContent()
public void setFormat(String format)
format
- the content format.public Map<String,Resource> getAdditionalData()
public void setAdditionalData(Map<String,Resource> addData)
addData
- the additional data to set.