Class RichTextHandlerConfig

  • All Implemented Interfaces:
    io.wcm.sling.commons.caservice.ContextAwareService

    @ConsumerType
    public abstract class RichTextHandlerConfig
    extends java.lang.Object
    implements io.wcm.sling.commons.caservice.ContextAwareService
    RichTextHandlerConfig OSGi services provide application-specific configuration for rich text handling. Applications can set service properties or bundle headers as defined in ContextAwareService to apply this configuration only for resources that match the relevant resource paths.
    • Field Summary

      • Fields inherited from interface io.wcm.sling.commons.caservice.ContextAwareService

        PROPERTY_ACCEPTS_CONTEXT_PATH_EMPTY, PROPERTY_CONTEXT_PATH_BLACKLIST_PATTERN, PROPERTY_CONTEXT_PATH_PATTERN
    • Constructor Detail

      • RichTextHandlerConfig

        public RichTextHandlerConfig()
    • Method Detail

      • getRewriteContentHandlers

        @NotNull
        public @NotNull java.util.List<java.lang.Class<? extends RewriteContentHandler>> getRewriteContentHandlers()
        Defines a list of rewrite content handlers. If multiple implementations are provided, all are called on after another for the whole rich text fragment.
        Returns:
        Available rewrite content handler