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 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 inContextAwareService
to 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 java.util.List<java.lang.Class<? extends RewriteContentHandler>>
getRewriteContentHandlers()
Defines a list of rewrite content handlers.
-
-
-
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
-
-