Package io.wcm.handler.richtext.spi
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
RichTextHandlerConfigOSGi services provide application-specific configuration for rich text handling. Applications can set service properties or bundle headers as defined inContextAwareServiceto apply this configuration only for resources that match the relevant resource paths.
-
-
Constructor Summary
Constructors Constructor Description RichTextHandlerConfig()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description @NotNull List<Class<? extends RewriteContentHandler>>getRewriteContentHandlers()Defines a list of rewrite content handlers.
-
-
-
Method Detail
-
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
-
-