Interface TextContent

All Known Implementing Classes:
TextContentImpl

@Experimental public interface TextContent
  • Nested Class Summary

    Nested Classes
    Modifier and Type
    Interface
    Description
    static interface 
     
  • Method Summary

    Modifier and Type
    Method
    Description
    @NotNull List<@NotNull TextContent.Segment>
    contentAfterChildIndex(int childIndex)
    Returns the list of text fragments after the child element at the given index.
  • Method Details

    • contentAfterChildIndex

      @Experimental @NotNull @NotNull List<@NotNull TextContent.Segment> contentAfterChildIndex(int childIndex)
      Returns the list of text fragments after the child element at the given index. Returns the content before the first child if index is -1.
      Parameters:
      childIndex - the index of the child element
      Returns:
      the list of text fragments