Class ContentImpl

  • All Implemented Interfaces:
    Content, java.io.Serializable

    public class ContentImpl
    extends java.lang.Object
    implements java.io.Serializable, Content
    See Also:
    Serialized Form
    • Constructor Summary

      Constructors 
      Constructor Description
      ContentImpl()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.String getContent()  
      java.lang.String getFormat()  
      void setContent​(java.lang.String content)  
      void setFormat​(java.lang.String format)  
      • Methods inherited from class java.lang.Object

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

      • ContentImpl

        public ContentImpl()
    • Method Detail

      • getFormat

        public java.lang.String getFormat()
        Specified by:
        getFormat in interface Content
        Returns:
        the format
      • setFormat

        public void setFormat​(java.lang.String format)
        Specified by:
        setFormat in interface Content
        Parameters:
        format - the format to set
      • getContent

        public java.lang.String getContent()
        Specified by:
        getContent in interface Content
        Returns:
        the content
      • setContent

        public void setContent​(java.lang.String content)
        Specified by:
        setContent in interface Content
        Parameters:
        content - the content to set