DowncastConversionApi (engine/conversion)



Conversion interface that is registered for given DowncastDispatcher and is passed as one of parameters when dispatcher fires its events.



  • consumable : ModelConsumable

    Stores the information about what parts of a processed model item are still waiting to be handled. After a piece of a model item was converted, an appropriate consumable value should be consumed.

  • dispatcher : DowncastDispatcher

  • mapper : Mapper

    The Mapper instance.

  • options : Object

    An object with an additional configuration which can be used during the conversion process. Available only for data downcast conversion.

  • schema : Schema

    The Schema instance set for the model that is downcast.

  • writer : DowncastWriter

    The DowncastWriter instance used to manipulate the data during conversion.