Class TextContentImpl
- java.lang.Object
-
- com.priint.pubserver.metadata.xml.placeholder.TextContentImpl
-
- All Implemented Interfaces:
TextContent,java.io.Serializable
public class TextContentImpl extends java.lang.Object implements TextContent, java.io.Serializable
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description TextContentImpl()
-
Method Summary
All Methods Instance Methods Concrete 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
public java.lang.String getFormat()
Description copied from interface:TextContentGets the format of content.- Specified by:
getFormatin interfaceTextContent- Returns:
- format
-
setFormat
public void setFormat(java.lang.String format)
Description copied from interface:TextContentSets the format of content.- Specified by:
setFormatin interfaceTextContent- Parameters:
format- the new format
-
getContent
public java.lang.String getContent()
Description copied from interface:TextContentGets the text content of placeholder.- Specified by:
getContentin interfaceTextContent- Returns:
- format
-
setContent
public void setContent(java.lang.String content)
Description copied from interface:TextContentSets the text content for placeholder- Specified by:
setContentin interfaceTextContent- Parameters:
content- the new content
-
getContentElement
public Content getContentElement()
Description copied from interface:TextContentGets the text content of placeholder.- Specified by:
getContentElementin interfaceTextContent- Returns:
- format
-
setContentElement
public void setContentElement(Content content)
Description copied from interface:TextContentSets the text content for placeholder- Specified by:
setContentElementin interfaceTextContent- Parameters:
content- the new content- See Also:
Content
-
-