Class Comment


public class Comment extends TrackChange
The Class Comment.
  • Constructor Details

    • Comment

      public Comment()
      Instantiates a new comment.
    • Comment

      public Comment(long id)
      Instantiates a new comment.
      Parameters:
      id - the id
  • Method Details

    • add

      public void add(Paragraph paragraph)
      Adds the.
      Parameters:
      paragraph - the paragraph
    • add

      public void add(Table table)
      Adds the.
      Parameters:
      table - the table
    • add

      public void add(CustomXml customXml)
      Adds the.
      Parameters:
      customXml - the custom xml
    • add

      public void add(StructuredDocumentTag structuredDocumentTag)
      Adds the.
      Parameters:
      structuredDocumentTag - the structured document tag
    • add

      public void add(IBlockElement contentElement)
      Adds the.
      Parameters:
      contentElement - the content element
    • clone

      public Comment clone()
      Overrides:
      clone in class TrackChange
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • getContent

      public List<IBlockElement> getContent()
      Gets the content.
      Returns:
      the content
    • getInitials

      public String getInitials()
      Gets the initials.
      Returns:
      the initials
    • setInitials

      public void setInitials(String initials)
      Sets the initials.
      Parameters:
      initials - the new initials