|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface FormatConverter
Provides a convenient service for transforming to and from the storage format into the editor and view formats.
Method Summary | |
---|---|
String |
convertToEditorFormat(String storageFormat,
com.atlassian.renderer.RenderContext renderContext)
Converts the storage format into the editor format. |
String |
convertToStorageFormat(String wysiwygContent,
com.atlassian.renderer.RenderContext renderContext)
Returns the content that has been submitted as part of a user's attempt to add new content or edit existing content. |
String |
convertToViewFormat(String storageFormat,
com.atlassian.renderer.RenderContext renderContext)
Converts the storage format into the view format. |
String |
validateAndConvertToStorageFormat(ConfluenceActionSupport action,
String wysiwygContent,
com.atlassian.renderer.RenderContext renderContext)
Validates, and adds any errors to the action. |
Method Detail |
---|
String validateAndConvertToStorageFormat(ConfluenceActionSupport action, String wysiwygContent, com.atlassian.renderer.RenderContext renderContext)
action
- action to add any errors found intowysiwygContent
- renderContext
-
String convertToStorageFormat(String wysiwygContent, com.atlassian.renderer.RenderContext renderContext) throws XhtmlParsingException, XhtmlException
XhtmlParsingException
XhtmlException
String convertToEditorFormat(String storageFormat, com.atlassian.renderer.RenderContext renderContext)
storageFormat
- renderContext
-
String convertToViewFormat(String storageFormat, com.atlassian.renderer.RenderContext renderContext)
storageFormat
- renderContext
-
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |