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 |
|---|---|
String |
render(org.apache.sling.api.resource.Resource paragraph)
Renders the provided resource (which must reference a component that references
a Content Fragment).
|
String |
render(org.apache.sling.api.resource.Resource paragraph,
org.apache.sling.api.resource.ValueMap config)
Renders the provided resource (which must reference a component that references
a Content Fragment).
|
String render(org.apache.sling.api.resource.Resource paragraph)
Renders the provided resource (which must reference a component that references a Content Fragment).
paragraph - The paragraphString render(org.apache.sling.api.resource.Resource paragraph, org.apache.sling.api.resource.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 - The render configuration as a mapCopyright © 2006-2017 Adobe Systems Incorporated. All Rights Reserved.