|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| 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 | |
|---|---|
java.lang.String |
convertToEditorFormat(java.lang.String storageFormat,
com.atlassian.renderer.RenderContext renderContext)
Converts the storage format into the editor format. |
java.lang.String |
convertToStorageFormat(java.lang.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. |
java.lang.String |
convertToViewFormat(java.lang.String storageFormat,
com.atlassian.renderer.RenderContext renderContext)
Converts the storage format into the view format. |
java.lang.String |
validateAndConvertToStorageFormat(ConfluenceActionSupport action,
java.lang.String wysiwygContent,
com.atlassian.renderer.RenderContext renderContext)
Validates, and adds any errors to the action. |
| Method Detail |
|---|
java.lang.String validateAndConvertToStorageFormat(ConfluenceActionSupport action,
java.lang.String wysiwygContent,
com.atlassian.renderer.RenderContext renderContext)
action - action to add any errors found intowysiwygContent - renderContext -
java.lang.String convertToStorageFormat(java.lang.String wysiwygContent,
com.atlassian.renderer.RenderContext renderContext)
throws XhtmlParsingException,
XhtmlException
XhtmlParsingException
XhtmlException
java.lang.String convertToEditorFormat(java.lang.String storageFormat,
com.atlassian.renderer.RenderContext renderContext)
storageFormat - renderContext -
java.lang.String convertToViewFormat(java.lang.String storageFormat,
com.atlassian.renderer.RenderContext renderContext)
storageFormat - renderContext -
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||