Class StylesFilterContributor


  • @API(type=EXTENDABLE,
         src=PUBLIC)
    public class StylesFilterContributor
    extends java.lang.Object
    Provider for an author styles filter.
    Since:
    17
    • Constructor Detail

      • StylesFilterContributor

        public StylesFilterContributor()
    • Method Detail

      • createStylesFilter

        public StylesFilter createStylesFilter​(java.net.URL resourceURL,
                                               DocumentTypeInformation documentTypeInfo)
        Returns a styles filter for the current resource.
        Parameters:
        resourceURL - The URL of the open resource.
        documentTypeInfo - Provides information about the document type configuration which was loaded for the current editor.
        Returns:
        A styles filter implementation.