com.atlassian.renderer.wysiwyg.converter
Class SpanConverter

java.lang.Object
  extended by com.atlassian.renderer.wysiwyg.converter.SpanConverter

public class SpanConverter
extends java.lang.Object

Converts a span node to wiki markup. Spans may contain macros that need to be handled by the WysiwygMacroHelper, wiki source divs that are converted as raw text or errors that are swallowed. All other spans have their children converted normally.


Constructor Summary
SpanConverter()
           
 
Method Summary
 boolean canConvert(NodeContext nodeContext)
          Return true if this converter can convert the given node.
 java.lang.String convertNode(NodeContext nodeContext, DefaultWysiwygConverter wysiwygConverter)
          Convert a single Xhtml node to a string.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SpanConverter

public SpanConverter()
Method Detail

canConvert

public boolean canConvert(NodeContext nodeContext)
Return true if this converter can convert the given node.


convertNode

public java.lang.String convertNode(NodeContext nodeContext,
                                    DefaultWysiwygConverter wysiwygConverter)
Convert a single Xhtml node to a string.



Copyright © 2013 Atlassian. All Rights Reserved.