com.atlassian.confluence.content.render.xhtml.editor.macro
Class EditorUnknownMacroMarshaller

java.lang.Object
  extended by com.atlassian.confluence.content.render.xhtml.editor.macro.EditorBodilessMacroMarshaller
      extended by com.atlassian.confluence.content.render.xhtml.editor.macro.EditorUnknownMacroMarshaller
All Implemented Interfaces:
MacroMarshaller

public class EditorUnknownMacroMarshaller
extends EditorBodilessMacroMarshaller


Field Summary
 
Fields inherited from class com.atlassian.confluence.content.render.xhtml.editor.macro.EditorBodilessMacroMarshaller
commonAttributeWriter, placeholderUrlFactory, xmlOutputFactory
 
Constructor Summary
EditorUnknownMacroMarshaller(CommonMacroAttributeWriter commonAttributeWriter, PlaceholderUrlFactory placeholderUrlFactory, XMLOutputFactory xmlOutputFactory)
           
 
Method Summary
protected  String getCssClass(MacroDefinition definition)
           
protected  String getImageSource(MacroDefinition definition)
           
 boolean handles(Macro macro)
           
 
Methods inherited from class com.atlassian.confluence.content.render.xhtml.editor.macro.EditorBodilessMacroMarshaller
marshal
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

EditorUnknownMacroMarshaller

public EditorUnknownMacroMarshaller(CommonMacroAttributeWriter commonAttributeWriter,
                                    PlaceholderUrlFactory placeholderUrlFactory,
                                    XMLOutputFactory xmlOutputFactory)
Method Detail

handles

public boolean handles(Macro macro)
Specified by:
handles in interface MacroMarshaller
Overrides:
handles in class EditorBodilessMacroMarshaller
Parameters:
macro - the macro to check. This may be null.
Returns:
true if the MacroMarshaller can handle this macro.

getCssClass

protected String getCssClass(MacroDefinition definition)
Overrides:
getCssClass in class EditorBodilessMacroMarshaller

getImageSource

protected String getImageSource(MacroDefinition definition)
Overrides:
getImageSource in class EditorBodilessMacroMarshaller


Copyright © 2003-2013 Atlassian. All Rights Reserved.