Interface ComponentHelperService


  • public interface ComponentHelperService

    Provides a helper for shared logic in content fragment component implementations.

    • Method Detail

      • listAllParagraphs

        List<String> listAllParagraphs​(String content)

        Extract the list of valid paragraphs detected in the provided HTML content. Usually returned by renderer.

        Parameters:
        content - The rendered HTML containing paragraph elements (i.e p, h1, h2, h3, h4, h5, h6).
        Returns:
        A list representing the paragraph elements html snippets in the natural appearing order.