Cheshire3 Objects: Group Transformer

Description

Sometimes a single record may contain multiple items within it, for example a METS document that has references to 20 different images, and you need to extract these components individually. A GroupTransformer will take a Record and turn it into a DocumentGroup with multiple Documents in it. This can also be used for extracting components for indexing, for example pages from a TEI record.

Implementations
API

FunctionParametersReturnsDescription
__init__config, parent 
process_recordsession, recordDocumentGroupReturn a documentGroup after some transformation of the record