Class CommentBean


  • public class CommentBean
    extends Object
    TODO: support threaded comments parsing
    • Method Detail

      • newInstance

        public static CommentBean newInstance​(int index)
        Returns an instance of this class representing the comment on the page with the given index. The index is zero-based, so index zero is the first comment on the page.
      • newInstance

        public static CommentBean newInstance​(int index,
                                              net.sourceforge.jwebunit.junit.WebTester tester)
      • commentExists

        public boolean commentExists()
      • focusedComment

        public static CommentBean focusedComment()
        Returns an instance of this class representing the focused comment on the current page.
      • focusedComment

        public static CommentBean focusedComment​(net.sourceforge.jwebunit.junit.WebTester tester)
      • getProfilePicSrc

        public String getProfilePicSrc()
      • getId

        public String getId()
        Returns:
        the ID of this comment
      • getContent

        public String getContent()
        Returns:
        the content of this comment
      • getUserFullName

        public String getUserFullName()
      • getDate

        public String getDate()
      • getDateTitle

        public String getDateTitle()
      • getPermalink

        public String getPermalink()
        Returns the permalink id of the comment.
      • getUserlink

        public String getUserlink()
        Returns the user profile link of the comment.
      • isEditable

        public boolean isEditable()
      • canReply

        public boolean canReply()
      • isRemovable

        public boolean isRemovable()