Class DiffMacroMarshaller
- java.lang.Object
- 
- com.atlassian.confluence.diff.marshallers.DiffMacroMarshaller
 
- 
- All Implemented Interfaces:
- Marshaller<MacroDefinition>
 
 public class DiffMacroMarshaller extends Object implements Marshaller<MacroDefinition> 
- 
- 
Field SummaryFields Modifier and Type Field Description static StringBODYLESS_MACRO_CLASSstatic StringMACRO_CLASS
 - 
Constructor SummaryConstructors Constructor Description DiffMacroMarshaller(MacroManager macroManager, XMLOutputFactory xmlOutputFactory)
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description Streamablemarshal(MacroDefinition macroDefinition, ConversionContext conversionContext)Marshals an object to XML.
 
- 
- 
- 
Field Detail- 
MACRO_CLASSpublic static final String MACRO_CLASS - See Also:
- Constant Field Values
 
 - 
BODYLESS_MACRO_CLASSpublic static final String BODYLESS_MACRO_CLASS - See Also:
- Constant Field Values
 
 
- 
 - 
Constructor Detail- 
DiffMacroMarshallerpublic DiffMacroMarshaller(MacroManager macroManager, XMLOutputFactory xmlOutputFactory) 
 
- 
 - 
Method Detail- 
marshalpublic Streamable marshal(MacroDefinition macroDefinition, ConversionContext conversionContext) throws XhtmlException Description copied from interface:MarshallerMarshals an object to XML.- Specified by:
- marshalin interface- Marshaller<MacroDefinition>
- Parameters:
- macroDefinition- object to marshal
- conversionContext- the conversion context
- Returns:
- the XML representation of the object
- Throws:
- XhtmlException- if an error occurs during marshalling
 
 
- 
 
-