com.atlassian.confluence.content.render.xhtml.editor
Class DefaultEditorConverter
java.lang.Object
com.atlassian.confluence.content.render.xhtml.editor.DefaultEditorConverter
- All Implemented Interfaces:
- EditorConverter
public class DefaultEditorConverter
- extends Object
- implements EditorConverter
Instigate the conversion of HTML received from the Confluence editor to a format suitable for storage.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DefaultEditorConverter
public DefaultEditorConverter(Transformer storageConverter,
HtmlToXmlConverter htmlToXmlConverter)
convert
public String convert(String editorFormat,
ConversionContext conversionContext)
throws XhtmlParsingException,
XhtmlException
- Specified by:
convert
in interface EditorConverter
- Parameters:
editorFormat
- the editor formatted data to be converted.conversionContext
- the context for the conversion
- Returns:
- the converted data
- Throws:
XhtmlParsingException
- if there is a specific problem parsing the supplied editorFormat data
XhtmlException
- for all other problems.
Copyright © 2003-2013 Atlassian. All Rights Reserved.