RenderFormat

declslides.rendering.RenderFormat
final case class RenderFormat(label: String, fileExtension: FileExtension, acceptedInputs: Set[String])

Rendering target metadata understood by the rendering layer.

A RenderFormat describes how a renderer is addressed by users and what file extension it naturally produces.

Value parameters

acceptedInputs

raw labels accepted when parsing a user request

fileExtension

default file extension produced by the renderer

label

canonical label for the format

Attributes

Graph
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all

Members list

Value members

Concrete methods

def accepts(raw: String): Boolean

Returns true when the raw label is accepted by this format.

Returns true when the raw label is accepted by this format.

Attributes

Inherited methods

def productElementNames: Iterator[String]

An iterator over the names of all the elements of this product.

An iterator over the names of all the elements of this product.

Attributes

Inherited from:
Product
def productIterator: Iterator[Any]

An iterator over all the elements of this product.

An iterator over all the elements of this product.

Attributes

Returns

in the default implementation, an Iterator[Any]

Inherited from:
Product