A B D G I M P R T U V X 
All Classes All Packages

A

addParsedText(Element, String) - Static method in class io.wcm.handler.richtext.util.RichTextUtil
Parses XHTML text string, and adds to parsed content to the given parent element.
addParsedText(Element, String, boolean) - Static method in class io.wcm.handler.richtext.util.RichTextUtil
Parses XHTML text string, and adds to parsed content to the given parent element.

B

build() - Method in interface io.wcm.handler.richtext.RichTextBuilder
Build formatted markup and return metadata object containing results.
buildContent() - Method in interface io.wcm.handler.richtext.RichTextBuilder
Build formatted markup as DOM elements.
buildMarkup() - Method in interface io.wcm.handler.richtext.RichTextBuilder
Build formatted markup string.

D

DefaultRewriteContentHandler - Class in io.wcm.handler.richtext
Default implementation of RewriteContentHandler.
DefaultRewriteContentHandler() - Constructor for class io.wcm.handler.richtext.DefaultRewriteContentHandler
 

G

get(String) - Method in interface io.wcm.handler.richtext.RichTextHandler
Build formatter text from given raw text string.
get(Resource) - Method in interface io.wcm.handler.richtext.RichTextHandler
Build formatted text from content resource using default property names.
getContent() - Method in class io.wcm.handler.richtext.RichText
 
getMarkup() - Method in class io.wcm.handler.richtext.RichText
 
getMarkup() - Method in class io.wcm.handler.richtext.ui.ResourceMultilineText
Returns the formatted text as XHTML markup.
getMarkup() - Method in class io.wcm.handler.richtext.ui.ResourceRichText
Returns the formatted text as XHTML markup.
getMediaArgs() - Method in class io.wcm.handler.richtext.RichTextRequest
 
getResource() - Method in class io.wcm.handler.richtext.RichTextRequest
 
getResourceProperties() - Method in class io.wcm.handler.richtext.RichTextRequest
 
getRewriteContentHandlers() - Method in class io.wcm.handler.richtext.spi.RichTextHandlerConfig
Defines a list of rewrite content handlers.
getRichTextRequest() - Method in class io.wcm.handler.richtext.RichText
 
getText() - Method in class io.wcm.handler.richtext.RichTextRequest
 
getTextMode() - Method in class io.wcm.handler.richtext.RichTextRequest
 
getUrlMode() - Method in class io.wcm.handler.richtext.RichTextRequest
 

I

io.wcm.handler.richtext - package io.wcm.handler.richtext
RichText Handler API.
io.wcm.handler.richtext.spi - package io.wcm.handler.richtext.spi
SPI for configuring and tailoring rich text handler processing.
io.wcm.handler.richtext.ui - package io.wcm.handler.richtext.ui
Sling model classes for UI views.
io.wcm.handler.richtext.util - package io.wcm.handler.richtext.util
Helper classes for RichText handling.
isEmpty(String) - Method in interface io.wcm.handler.richtext.RichTextHandler
Check if the given formatted text block is empty.
isEmpty(String) - Static method in class io.wcm.handler.richtext.util.RichTextUtil
Check if the given formatted text block is empty.
isEmpty(String, int) - Static method in class io.wcm.handler.richtext.util.RichTextUtil
Check if the given formatted text block is empty.
isValid() - Method in class io.wcm.handler.richtext.RichText
 
isValid() - Method in class io.wcm.handler.richtext.ui.ResourceMultilineText
Returns true if multi-line text is present and valid.
isValid() - Method in class io.wcm.handler.richtext.ui.ResourceRichText
Returns true if rich text is present and valid.

M

mediaArgs(MediaArgs) - Method in interface io.wcm.handler.richtext.RichTextBuilder
Set media arguments to be applied when resolving inline images.

P

parseText(String) - Static method in class io.wcm.handler.richtext.util.RichTextUtil
Parses XHTML text string.
parseText(String, boolean) - Static method in class io.wcm.handler.richtext.util.RichTextUtil
Parses XHTML text string.
PLAIN - io.wcm.handler.richtext.TextMode
Test is plain text, only convert line breaks to <br/> elements.
PN_TEXT - Static variable in class io.wcm.handler.richtext.RichTextNameConstants
Default property for storing rich text.
PN_TEXT_IS_RICH - Static variable in class io.wcm.handler.richtext.RichTextNameConstants
Property that denotes if the text property contains rich text (true) or plain text (false).

R

ResourceMultilineText - Class in io.wcm.handler.richtext.ui
Generic resource-based model for rendering plain text with line breaks.
ResourceMultilineText() - Constructor for class io.wcm.handler.richtext.ui.ResourceMultilineText
 
ResourceRichText - Class in io.wcm.handler.richtext.ui
Generic resource-based model for rendering formatted rich text.
ResourceRichText() - Constructor for class io.wcm.handler.richtext.ui.ResourceRichText
 
rewriteContent(Element, RewriteContentHandler) - Static method in class io.wcm.handler.richtext.util.RichTextUtil
Rewrites all children/sub-tree of the given parent element.
RewriteContentHandler - Interface in io.wcm.handler.richtext.util
Allows to rewrite DOM elements and text elements.
rewriteElement(Element) - Method in class io.wcm.handler.richtext.DefaultRewriteContentHandler
Checks if the given element has to be rewritten.
rewriteElement(Element) - Method in interface io.wcm.handler.richtext.util.RewriteContentHandler
Checks if the given element has to be rewritten.
rewriteText(Text) - Method in class io.wcm.handler.richtext.DefaultRewriteContentHandler
 
rewriteText(Text) - Method in interface io.wcm.handler.richtext.util.RewriteContentHandler
Checks if the given text node has to be rewritten.
RichText - Class in io.wcm.handler.richtext
Holds information about a rich text processed and resolved by RichTextHandler.
RichText(RichTextRequest, List<Content>) - Constructor for class io.wcm.handler.richtext.RichText
 
RichTextBuilder - Interface in io.wcm.handler.richtext
Define rich text handling request using builder pattern.
RichTextHandler - Interface in io.wcm.handler.richtext
Manages XHTML rich text fragment formatting.
RichTextHandlerConfig - Class in io.wcm.handler.richtext.spi
RichTextHandlerConfig OSGi services provide application-specific configuration for rich text handling.
RichTextHandlerConfig() - Constructor for class io.wcm.handler.richtext.spi.RichTextHandlerConfig
 
RichTextNameConstants - Class in io.wcm.handler.richtext
Names used for rich text handling.
RichTextRequest - Class in io.wcm.handler.richtext
Holds all properties that are part of a rich text handling request.
RichTextRequest(Resource, String, UrlMode, TextMode, MediaArgs) - Constructor for class io.wcm.handler.richtext.RichTextRequest
 
RichTextUtil - Class in io.wcm.handler.richtext.util
Utility methods for handling XHTML rich text fragments i.e.

T

textMode(TextMode) - Method in interface io.wcm.handler.richtext.RichTextBuilder
Set in which text mode the raw text should be interpreded.
TextMode - Enum in io.wcm.handler.richtext
Mode for interpreting text for rendering.
toString() - Method in class io.wcm.handler.richtext.RichText
 
toString() - Method in class io.wcm.handler.richtext.RichTextRequest
 

U

urlMode(UrlMode) - Method in interface io.wcm.handler.richtext.RichTextBuilder
Set URL mode to be applied for building URLs for inline links and inline images.

V

valueOf(String) - Static method in enum io.wcm.handler.richtext.TextMode
Returns the enum constant of this type with the specified name.
values() - Static method in enum io.wcm.handler.richtext.TextMode
Returns an array containing the constants of this enum type, in the order they are declared.

X

XHTML - io.wcm.handler.richtext.TextMode
Text is valid XHTML rich text.
A B D G I M P R T U V X 
All Classes All Packages