Class BlockContent


  • public class BlockContent
    extends Object
    • Constructor Detail

      • BlockContent

        public BlockContent()
      • BlockContent

        public BlockContent​(@NotNull
                            @NotNull BlockContent other,
                            int startLine,
                            int lineIndent)
    • Method Detail

      • getLine

        @NotNull
        public @NotNull com.vladsch.flexmark.util.sequence.BasedSequence getLine​(int line)
      • getSpanningChars

        @NotNull
        public @NotNull com.vladsch.flexmark.util.sequence.BasedSequence getSpanningChars()
      • getLines

        @NotNull
        public @NotNull List<com.vladsch.flexmark.util.sequence.BasedSequence> getLines()
      • getLineIndents

        @NotNull
        public @NotNull List<Integer> getLineIndents()
      • getLineCount

        public int getLineCount()
      • getStartOffset

        public int getStartOffset()
      • getEndOffset

        public int getEndOffset()
      • getLineIndent

        public int getLineIndent()
      • getSourceLength

        public int getSourceLength()
      • add

        public void add​(@NotNull
                        @NotNull com.vladsch.flexmark.util.sequence.BasedSequence lineWithEOL,
                        int lineIndent)
      • addAll

        public void addAll​(@NotNull
                           @NotNull List<com.vladsch.flexmark.util.sequence.BasedSequence> lines,
                           List<Integer> lineIndents)
      • hasSingleLine

        public boolean hasSingleLine()
      • getContents

        @NotNull
        public @NotNull com.vladsch.flexmark.util.sequence.BasedSequence getContents()
      • subContents

        @NotNull
        public @NotNull BlockContent subContents​(int startLine,
                                                 int endLine)
      • getContents

        @NotNull
        public @NotNull com.vladsch.flexmark.util.sequence.BasedSequence getContents​(int startLine,
                                                                                     int endLine)
      • getString

        @NotNull
        public @NotNull String getString()