java.lang.Object
com.zybber.wicket.markup_parser_customization.MarkupParserCustomization

public class MarkupParserCustomization extends Object

Loads the markup parser customizers available on the classpath. Custom markup factories that want to provide MarkupParser customization, must invoke customize(MarkupResourceStream, MarkupParser).

If the application does not have a custom MarkupFactory yet, MarkupParserCustomizingFactory can be used.

  • Constructor Details

    • MarkupParserCustomization

      public MarkupParserCustomization()
  • Method Details

    • customize

      public static void customize(org.apache.wicket.markup.MarkupResourceStream resource, org.apache.wicket.markup.MarkupParser parser)

      Ask all found IMarkupParserCustomizer implementations found on the classpath to customize the given parser based on the state of the given resource.

      Parameters:
      resource - the resource for which parser was created.
      parser - the markup parser, created for resource, to be customized.