Class 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.String getContent()
      Gets the text content of placeholder.
      Content getContentElement()
      Gets the text content of placeholder.
      java.lang.String getFormat()
      Gets the format of content.
      void setContent​(java.lang.String content)
      Sets the text content for placeholder
      void setContentElement​(Content content)
      Sets the text content for placeholder
      void setFormat​(java.lang.String format)
      Sets the format of content.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • TextContentImpl

        public TextContentImpl()
    • Method Detail

      • getFormat

        public java.lang.String getFormat()
        Description copied from interface: TextContent
        Gets the format of content.
        Specified by:
        getFormat in interface TextContent
        Returns:
        format
      • setFormat

        public void setFormat​(java.lang.String format)
        Description copied from interface: TextContent
        Sets the format of content.
        Specified by:
        setFormat in interface TextContent
        Parameters:
        format - the new format
      • getContent

        public java.lang.String getContent()
        Description copied from interface: TextContent
        Gets the text content of placeholder.
        Specified by:
        getContent in interface TextContent
        Returns:
        format
      • setContent

        public void setContent​(java.lang.String content)
        Description copied from interface: TextContent
        Sets the text content for placeholder
        Specified by:
        setContent in interface TextContent
        Parameters:
        content - the new content
      • setContentElement

        public void setContentElement​(Content content)
        Description copied from interface: TextContent
        Sets the text content for placeholder
        Specified by:
        setContentElement in interface TextContent
        Parameters:
        content - the new content
        See Also:
        Content