In package com.eden.orchid.api.render

public class RenderServiceImpl extends Object implements RenderService

since: v1.0.0 public

Fields

OrchidContext context

OrchidRenderer renderer

boolean dry
Field Annotations:
@Option,
@BooleanDefault(
    value=false),
@Description(
    value="On a dry run, pages are indexed but not rendered.")

boolean includeDrafts
Field Annotations:
@Getter,
@Accessors(
    fluent=true),
@Option,
@BooleanDefault(
    value=false),
@Description(
    value="Normally, draft pages are not rendered along with the rest of the site, but this behavior can be turned off by setting this value to `true`.")

Constructors

RenderServiceImpl(OrchidContext context, TemplateResolutionStrategy strategy, OrchidRenderer renderer) public
Constructor Annotations:
@Inject

Parameters:

Methods

void initialize(OrchidContext context) public
Method Annotations:
@Override

Parameters:
InputStream getRenderedTemplate(OrchidPage page) final public
Method Annotations:
@Override

Parameters:
void renderTemplate(OrchidPage page) final public
Method Annotations:
@Override

Parameters:
InputStream getRenderedString(OrchidPage page, String extension, String templateString) final public
Method Annotations:
@Override

Parameters:
  • OrchidPage page
  • String extension
  • String templateString
void renderString(OrchidPage page, String extension, String templateString) final public
Method Annotations:
@Override

Parameters:
  • OrchidPage page
  • String extension
  • String templateString
InputStream getRenderedRaw(OrchidPage page) final public
Method Annotations:
@Override

Parameters:
void renderRaw(OrchidPage page) final public
Method Annotations:
@Override

Parameters:
InputStream getRenderedBinary(OrchidPage page) final public
Method Annotations:
@Override

Parameters:
void renderBinary(OrchidPage page) final public
Method Annotations:
@Override

Parameters:
void render(OrchidPage page, RenderService.RenderMode renderMode) public
Method Annotations:
@Override

Parameters:
InputStream getRendered(OrchidPage page, RenderService.RenderMode renderMode) public
Method Annotations:
@Override

Parameters:
void render(OrchidPage page, String renderMode) public
Method Annotations:
@Override

Parameters:
InputStream getRendered(OrchidPage page, String renderMode) public
Method Annotations:
@Override

Parameters: