Class AbstractMacroBlock

  • All Implemented Interfaces:
    Cloneable, Block
    Direct Known Subclasses:
    MacroBlock, MacroMarkerBlock

    public abstract class AbstractMacroBlock
    extends AbstractBlock
    Common class to MacroBlock and MacroMakerBlock.
    Since:
    10.0
    Version:
    $Id: 26b4b8e5dc68497dfd9d71236f64c7eab88dfeb9 $
    • Constructor Detail

      • AbstractMacroBlock

        public AbstractMacroBlock​(List<? extends Block> childrenBlocks,
                                  Map<String,​String> parameters,
                                  String id,
                                  String content,
                                  boolean inline)
        Parameters:
        childrenBlocks - the list of children blocks of the block to construct
        parameters - the parameters to set
        id - the name of the macro
        content - the content of the macro
        inline - indicate if the macro is located in a inline content
    • Method Detail

      • getContent

        public String getContent()
        Returns:
        the macro content.
      • getId

        public String getId()
        Returns:
        the macro identifier.
      • isInline

        public boolean isInline()
        Returns:
        if true the macro is located in a inline content (like paragraph, etc.).