In package com.eden.orchid.api.resources.resource

class com.eden.orchid.api.resources.resource.StringResource

A Resource type that provides a plain String as content to a template. When used with renderTemplate() or renderString(), this resource will supply the page.content variable to the template renderer. When used with renderRaw(), the raw plain String content will be written directly instead.

Constructors

public <init>(kotlin.String, com.eden.orchid.api.theme.pages.OrchidReference)

Parameters:
public <init>(kotlin.String, com.eden.orchid.api.theme.pages.OrchidReference, kotlin.collections.MutableMap((kotlin.String, kotlin.Any)))

Parameters:
public <init>(kotlin.String, com.eden.orchid.api.theme.pages.OrchidReference, JSONElement)

Parameters:
public <init>(com.eden.orchid.api.OrchidContext, kotlin.String, kotlin.String)

Parameters:
public <init>(com.eden.orchid.api.OrchidContext, kotlin.String, kotlin.String, kotlin.collections.MutableMap((kotlin.String, kotlin.Any)))

Parameters: