Cheshire3 Objects: Transformer

Description

A Transformer is the opposite of a Parser. It takes a Record and produces a Document. In many cases this can be handled by an XSLT implementation but other instances might include one that returns a binary file based on the information in the record. Transformers might be used in an indexing chain, but are more likely to be used to render a record in a format or schema requested by the end user.

Implementations

There is only one pre-configured implementations as most types of Transformer are highly data dependent.
This may be used out-of-the-box in configurations for Workflows, or in code by getting the object from a Server.

API

Module: cheshire3.transformer
Classes:

Methods:
FunctionParametersReturnsDescription
__init__config, parent 
process_recordsession, recordDocumentReturn a Document after some transformation of the Record

Sub-Packages

Sub-Package: graph
Module: cheshire3.graph.transformer

Sub-package: web
Module: cheshire3.web.transformer