Headless Server Developer Manual / Version 2201
Table Of ContentsAs mentioned above, the output handlers !ElementWriter, !ImgWriter and !LinkWriter support special additional properties in order to describe the transformation of an element or attribute.
An ElementWriter may define the properties 'elementTransformer' and 'attributeTransformers', whereas ImgWriter and LinkWriter only support the 'attributeTransformers' property.
Custom attribute and element transformers can be added by implementing the interface AttributeTransformer
or ElementTransformer
and passing them as type description to the RichtextTransformerReader
.