|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ConfluenceWysiwygConverter
Confluence-specific wysiwig converter for rendering wiki markup in XHTML and vice versa.
Method Summary | |
---|---|
java.lang.String |
convertToPreview(java.lang.String inputText,
java.lang.String pageIdString,
java.lang.String spaceKey,
java.lang.String fromMode)
Converts text into XHTML for Preview |
java.lang.String |
convertWikiMarkupToXHtml(ContentEntityObject content,
java.lang.String wikiMarkup)
Converts wiki markup text into XHTML, using the page context of the content object. |
java.lang.String |
convertWikiMarkupToXHtml(ContentEntityObject content,
java.lang.String spaceKey,
java.lang.String wikiMarkup)
Converts wiki markup text into XHTML, using the page context of the content object. |
java.lang.String |
convertWikiMarkupToXHtml(java.lang.String wikiMarkup,
java.lang.String pageId)
Converts wiki markup text into XHTML, using the page context of the content object specified by the id. |
java.lang.String |
convertWikiMarkupToXHtml(java.lang.String wikiMarkup,
java.lang.String pageId,
java.lang.String spaceKey)
Converts wiki markup text into XHTML, using the page context of the content object specified by the id. |
java.lang.String |
convertXHtmlToWikiMarkup(ContentEntityObject content,
java.lang.String xhtml)
Converts XHTML into wiki markup, using the page context of the content object |
java.lang.String |
convertXHtmlToWikiMarkup(java.lang.String xhtml,
java.lang.String pageId)
Converts XHTML into wiki markup, without using page context |
boolean |
getUserWysiwygPreference()
Deprecated. since 4.0. Users are no longer able to set a user preference. |
Method Detail |
---|
java.lang.String convertWikiMarkupToXHtml(ContentEntityObject content, java.lang.String wikiMarkup)
content
- - the object the markup is written withinwikiMarkup
- - the text to be converted
java.lang.String convertWikiMarkupToXHtml(ContentEntityObject content, java.lang.String spaceKey, java.lang.String wikiMarkup)
content
- - the object the markup is written withinspaceKey
- - the space in which the content is written, used when content is nullwikiMarkup
- - the text to be converted
java.lang.String convertWikiMarkupToXHtml(java.lang.String wikiMarkup, java.lang.String pageId)
wikiMarkup
- - the text to be convertedpageId
- - id of the object
java.lang.String convertWikiMarkupToXHtml(java.lang.String wikiMarkup, java.lang.String pageId, java.lang.String spaceKey)
wikiMarkup
- - the text to be convertedpageId
- - id of the objectspaceKey
- - the space in which the content is written, used when content is null
java.lang.String convertXHtmlToWikiMarkup(ContentEntityObject content, java.lang.String xhtml)
content
- - the content object the markup is writen withinxhtml
- - the text to be converted
java.lang.String convertXHtmlToWikiMarkup(java.lang.String xhtml, java.lang.String pageId)
xhtml
- - the text to be convertedpageId
- - NOT USED
java.lang.String convertToPreview(java.lang.String inputText, java.lang.String pageIdString, java.lang.String spaceKey, java.lang.String fromMode)
inputText
- - text to be converted (can be either XHTML or Wiki Markup)pageIdString
- - the id of the content that the text is written withinspaceKey
- - if the content object doesn't exist the space key is usedfromMode
- - the form that the text is in (AbstractPageAction.RICHTEXT or AbstractPageAction.MARKUP)
@Deprecated boolean getUserWysiwygPreference()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |