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
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 Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription@NotNull List<Class<? extends RewriteContentHandler>> Defines a list of rewrite content handlers.
-
Constructor Details
-
RichTextHandlerConfig
public RichTextHandlerConfig()
-
-
Method Details
-
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
-