Class MarkupParserCustomization
java.lang.Object
com.zybber.wicket.markup_parser_customization.MarkupParserCustomization
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 Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic voidcustomize(org.apache.wicket.markup.MarkupResourceStream resource, org.apache.wicket.markup.MarkupParser parser) Ask all foundIMarkupParserCustomizerimplementations found on the classpath to customize the given parser based on the state of the given resource.
-
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
IMarkupParserCustomizerimplementations found on the classpath to customize the given parser based on the state of the given resource.- Parameters:
resource- the resource for whichparserwas created.parser- the markup parser, created forresource, to be customized.
-