A ConvertingPatcher converts a document to its intermediateType, sends the result to the wrapped patcher, and then converts back to its original type. No changes will take place if no intermediateType is provided.

In case there is no resource yet and a new one needs to be created, the result of the wrapped patcher will be converted to the provided defaultType. In case no defaultType is provided, the patcher output will be returned directly.

Hierarchy (view full)

Constructors

Properties

Methods

Constructors

Properties

logger: Logger = ...

Methods