@Version(value="1.0.0") @Export
See: Description
Interface | Description |
---|---|
ContentTypeAdapter |
Provides a format adapter.
|
ContentTypeConverter |
Provides means to convert texts of a certain content type to another content type.
|
Provides an extensible framework for converting text formats (like plain text, Markdown) into an HTML representation that can be used within an AEM page.
It also provides means to convert a text from one format into another format. For this, the text has to be converted to HTML in the first place, then into the target format.
To convert a text of a certain MIME type to HTML, use
ContentTypeConverter.convertToHTML(java.lang.String, java.lang.String)
.
To convert a text of MIME type A to MIME type B, use something like:
String html = typeConverter.convertToHTML(textA, typeA);
String textB = typeConverter.convertToType(html, typeB);
Copyright © 2010 - 2020 Adobe. All Rights Reserved