Interface TextContent
-
- All Superinterfaces:
java.io.Serializable
- All Known Implementing Classes:
TextContentImpl
public interface TextContent extends java.io.SerializableThe Interface TextContent for placeholder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.lang.StringgetContent()Gets the text content of placeholder.ContentgetContentElement()Gets the text content of placeholder.java.lang.StringgetFormat()Gets the format of content.voidsetContent(java.lang.String content)Sets the text content for placeholdervoidsetContentElement(Content content)Sets the text content for placeholdervoidsetFormat(java.lang.String format)Sets the format of content.
-
-
-
Method Detail
-
getFormat
java.lang.String getFormat()
Gets the format of content.- Returns:
- format
-
setFormat
void setFormat(java.lang.String format)
Sets the format of content.- Parameters:
format- the new format
-
getContent
java.lang.String getContent()
Gets the text content of placeholder.- Returns:
- format
-
setContent
void setContent(java.lang.String content)
Sets the text content for placeholder- Parameters:
content- the new content
-
getContentElement
Content getContentElement()
Gets the text content of placeholder.- Returns:
- format
-
-