public class DefaultEditorConverter extends Object implements EditorConverter
Constructor and Description |
---|
DefaultEditorConverter(Transformer storageConverter,
HtmlToXmlConverter htmlToXmlConverter) |
Modifier and Type | Method and Description |
---|---|
String |
convert(String editorFormat,
ConversionContext conversionContext) |
public DefaultEditorConverter(Transformer storageConverter, HtmlToXmlConverter htmlToXmlConverter)
public String convert(String editorFormat, ConversionContext conversionContext) throws XhtmlParsingException, XhtmlException
convert
in interface EditorConverter
editorFormat
- the editor formatted data to be converted.conversionContext
- the context for the conversionXhtmlParsingException
- if there is a specific problem parsing the supplied editorFormat dataXhtmlException
- for all other problems.Copyright © 2003–2021 Atlassian. All rights reserved.