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 Summary

    Modifier and Type
    Method
    Description
    List<?>
    Get the child items
    Get the unique identifier for the content
    Get the text representation of the content item
    void
     
  • Method Details

    • 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)