Class AlertBlockParser.Factory

java.lang.Object
org.commonmark.parser.block.AbstractBlockParserFactory
org.commonmark.ext.gfm.alerts.internal.AlertBlockParser.Factory
All Implemented Interfaces:
BlockParserFactory
Enclosing class:
AlertBlockParser

public static class AlertBlockParser.Factory extends AbstractBlockParserFactory
  • Field Details

    • allowedTypes

      private final Set<String> allowedTypes
    • customTitlesAllowed

      private final boolean customTitlesAllowed
    • nestedAlertsAllowed

      private final boolean nestedAlertsAllowed
  • Constructor Details

    • Factory

      public Factory(Set<String> allowedTypes, boolean customTitlesAllowed, boolean nestedAlertsAllowed)
  • Method Details