Interface ContentBodyConversionManager
- All Known Implementing Classes:
- ContentBodyConversionManagerImpl
public interface ContentBodyConversionManager
Used to convert a 
ContentBody to a different representation
 format. Now in DMZ; see the package-info.java for rationale.- Since:
- 5.10
- 
Nested Class SummaryNested ClassesModifier and TypeInterfaceDescriptionstatic final record
- 
Method SummaryModifier and TypeMethodDescriptionconvert(ContentRepresentation from, String value, ContentRepresentation to, ContentEntityObject ceo, Expansion... expansions) Computes the converted value of the ContentBody and the required web resources that may be needed to render the converted value.
- 
Method Details- 
convertContentBodyConversionManager.ConversionResult convert(ContentRepresentation from, String value, ContentRepresentation to, ContentEntityObject ceo, Expansion... expansions) Computes the converted value of the ContentBody and the required web resources that may be needed to render the converted value.- Parameters:
- from- The format to convert from.
- value- The value of the content body that is being converted.
- to- The format to covert to.
- ceo- The ContentEntityObject to have its contents converted.
- expansions- The required expansions, e.g. "webresource.tags,webresource.context,webresource.keys,webresource.uris".
- Returns:
- The converted value of the content body and the required web resources if requested in the expansion.
- Since:
- 9.0
 
 
-