Class ChildBlocksBuilder

java.lang.Object
org.apache.maven.doxia.module.confluence.parser.ChildBlocksBuilder

public class ChildBlocksBuilder extends Object
Re-usable builder that can be used to generate paragraph and list item text from a string containing all the content and wiki formatting. This class is intentionally stateful, but cheap to create, so create one as needed and keep it on the stack to preserve stateless behaviour in the caller.
Since:
1.1
  • Field Details

    • insideBold

      private boolean insideBold
    • insideItalic

      private boolean insideItalic
    • insideLinethrough

      private boolean insideLinethrough
    • insideUnderline

      private boolean insideUnderline
    • insideSub

      private boolean insideSub
    • insideSup

      private boolean insideSup
    • blocks

      private List<Block> blocks
    • text

      private StringBuilder text
    • input

      private String input
    • insideMonospaced

      private boolean insideMonospaced
  • Constructor Details

    • ChildBlocksBuilder

      public ChildBlocksBuilder(String input)

      Constructor for ChildBlocksBuilder.

      Parameters:
      input - the input.
  • Method Details