public interface FragmentRenderService
Provides a service to render a Content Fragment to its final destination, typically a paragraph on a CQ page.
Modifier and Type | Method and Description |
---|---|
java.lang.String |
render(Resource paragraph)
Renders the provided resource (which must reference a component that references
a Content Fragment).
|
java.lang.String |
render(Resource paragraph,
ValueMap config)
Renders the provided resource (which must reference a component that references
a Content Fragment).
|
java.lang.String render(Resource paragraph)
Renders the provided resource (which must reference a component that references a Content Fragment).
paragraph
- The paragraphjava.lang.String render(Resource paragraph, ValueMap config)
Renders the provided resource (which must reference a component that references a Content Fragment).
This method allow to provide additional, implementation-specific configuration. For a documentation about the supported options, please consult the Adobe AEM documentation on Content Fragments.
paragraph
- The paragraphconfig
- Additional configurationls"Copyright © 2010 - 2020 Adobe Systems Incorporated. All Rights Reserved"