com.atlassian.renderer.v2.plugin
Class PluggableWysiwygConverter

java.lang.Object
  extended by com.atlassian.renderer.wysiwyg.converter.DefaultWysiwygConverter
      extended by com.atlassian.renderer.v2.plugin.PluggableWysiwygConverter
All Implemented Interfaces:
WysiwygConverter

public class PluggableWysiwygConverter
extends DefaultWysiwygConverter

A WysiwygConverter that gets some of its components from the plugin system.


Field Summary
 
Fields inherited from class com.atlassian.renderer.wysiwyg.converter.DefaultWysiwygConverter
debug, macrosToIgnore, renderer, TEXT_SEPARATOR, TEXT_SEPERATOR, VALID_END, VALID_START
 
Constructor Summary
PluggableWysiwygConverter()
          Construct a new pluggable V2Renderer.
 
Method Summary
protected  List<TextConverter> getTextConverterComponents()
          Can be overridden to provide a different list of content escapers.
 void setPluginAccessor(com.atlassian.plugin.PluginAccessor pluginAccessor)
           
 
Methods inherited from class com.atlassian.renderer.wysiwyg.converter.DefaultWysiwygConverter
convertChildren, convertChildren, convertNode, convertWikiMarkupToXHtml, convertXHtmlToWikiMarkup, getAttribute, getMacroInfoHtml, getRawChildText, getRawChildTextWithoutReplacement, getSep, getSeparator, isUserNewline, setIconManager, setMacroManager, setWikiStyleRenderer
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PluggableWysiwygConverter

public PluggableWysiwygConverter()
Construct a new pluggable V2Renderer. Must have a PluginAccessor injected to function correctly.

Method Detail

setPluginAccessor

public void setPluginAccessor(com.atlassian.plugin.PluginAccessor pluginAccessor)

getTextConverterComponents

protected List<TextConverter> getTextConverterComponents()
Description copied from class: DefaultWysiwygConverter
Can be overridden to provide a different list of content escapers.

Overrides:
getTextConverterComponents in class DefaultWysiwygConverter
Returns:
the current list of text converter components.


Copyright © 2009 Atlassian Pty Ltd. All Rights Reserved.