TemplateDocument

case class TemplateDocument(path: Path, content: TemplateRoot, config: ConfigParser) extends Navigatable

A template document containing the element tree of a parsed template and its extracted configuration section (if present).

trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any

Value members

Concrete methods

def applyTo(document: Document, rules: RewriteRules, outputContext: OutputContext): Either[ConfigError, Document]

Applies this template to the specified document, replacing all span and block resolvers in the template with the final resolved element.

Applies this template to the specified document, replacing all span and block resolvers in the template with the final resolved element.

Inherited methods

def productElementNames: Iterator[String]
Inherited from:
Product
def productIterator: Iterator[Any]
Inherited from:
Product

Inherited fields

lazy val name: String

The local name of this navigatable.

The local name of this navigatable.

Inherited from:
Navigatable