Interface ContentBodyConversionService

All Known Implementing Classes:
ContentBodyConversionServiceImpl

public interface ContentBodyConversionService
Provides methods for converting ContentBody instances to other ContentRepresentations. Converting a ContentBody to the same ContentRepresentation will perform a validation/sanitisation of the body.

When creating or updating content, the incoming ContentBody will be converted to ContentRepresentation.STORAGE format. Note that currently, the only officially supported STORAGE conversions are from ContentRepresentation.STORAGE (checked for validity) and from ContentRepresentation.EDITOR.

Since:
5.5