Class AbstractElementContent

java.lang.Object
de.hsh.graja.util.comment.Content
de.hsh.graja.util.comment.AbstractElementContent
All Implemented Interfaces:
Serializable
Direct Known Subclasses:
Anchor, DiffComment, HtmlFormattedContent, Image, Inline, Newline, Verbatim

public abstract class AbstractElementContent extends Content
This is the base class of all contents that represent an element in a sequence of contents. An element is the opposite of a sequence.
See Also:
  • Constructor Details

  • Method Details

    • getNestedContents

      public Iterable<Content> getNestedContents()
      Specified by:
      getNestedContents in class Content
      Returns:
      the set of contents nested in this content. Nested contents can be list items in a List, elements in a Sequence, elements in a Grid, elements in a Paragraph, and so on. If this is a leaf content, the returned set is empty.
      See Also: