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

public final class StringResource extends OrchidResource

public final

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.


StringResource(String content, OrchidReference reference) public

StringResource(OrchidContext context, String name, String content) public