Interface MacroMarshaller
- 
- All Known Implementing Classes:
 CustomImageEditorMacroMarshaller,CustomPlaceholderEditorMarshaller,EditorBodilessMacroMarshaller,EditorBodyMacroMarshaller,ImprovedEditorUnknownMacroMarshaller
public interface MacroMarshallerImplemented by a MacroMarshaller that handles a particular type of Macro.- Since:
 - 4.0
 
 
- 
- 
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description booleanhandles(Macro macro)Streamablemarshal(Macro macro, MacroDefinition macroDefinition, ConversionContext conversionContext)Marshall the supplied macro. 
 - 
 
- 
- 
Method Detail
- 
handles
boolean handles(Macro macro)
- Parameters:
 macro- the macro to check. This may be null.- Returns:
 - true if the MacroMarshaller can handle this macro.
 
 
- 
marshal
Streamable marshal(Macro macro, MacroDefinition macroDefinition, ConversionContext conversionContext) throws XhtmlException
Marshall the supplied macro.- Parameters:
 macro- the macro to be marshalled. It may be null, such as in the case where a Macro has not been identified by the system.macroDefinition-conversionContext-- Returns:
 - Throws:
 XhtmlException
 
 - 
 
 -