Interface ContentItem

  • All Known Subinterfaces:
    Annotation, Link, Markup, Paragraph

    public interface ContentItem
    Represents a bit of the content of a page such as a paragraph, a text, a link...
    Version:
    $Revision$
    • Method Detail

      • getId

        String getId()
        Get the unique identifier for the content
        Returns:
        contentId
      • getChildren

        List<?> getChildren()
        Get the child items
        Returns:
        List of children
      • getText

        String getText()
        Get the text representation of the content item
        Returns:
        the content text
      • setText

        void setText​(String text)