All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.adobe.cq.dam.cfm.converter.package-info Maven / Gradle / Ivy

/*
 * ADOBE CONFIDENTIAL
 *
 * Copyright 2016 Adobe Systems Incorporated
 * All Rights Reserved.
 *
 * NOTICE:  All information contained herein is, and remains
 * the property of Adobe Systems Incorporated and its suppliers,
 * if any.  The intellectual and technical concepts contained
 * herein are proprietary to Adobe Systems Incorporated and its
 * suppliers and may be covered by U.S. and Foreign Patents,
 * patents in process, and are protected by trade secret or copyright law.
 * Dissemination of this information or reproduction of this material
 * is strictly forbidden unless prior written permission is obtained
 * from Adobe Systems Incorporated.
 */

/***
 * 

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.

* *

Basic usage:

* *

To convert a text of a certain MIME type to HTML, use * {@link com.adobe.cq.dam.cfm.converter.ContentTypeConverter#convertToHTML}.

* *

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); *
*/ @Version("1.0.0") @Export package com.adobe.cq.dam.cfm.converter; import aQute.bnd.annotation.Export; import aQute.bnd.annotation.Version;




© 2015 - 2024 Weber Informatics LLC | Privacy Policy