Class RichTextHandlerConfig

java.lang.Object
io.wcm.handler.richtext.spi.RichTextHandlerConfig
All Implemented Interfaces:
io.wcm.sling.commons.caservice.ContextAwareService

@ConsumerType public abstract class RichTextHandlerConfig extends 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.
  • Constructor Details

    • RichTextHandlerConfig

      public RichTextHandlerConfig()
  • Method Details

    • getRewriteContentHandlers

      @NotNull public @NotNull List<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