Class DiffMacroMarshaller
java.lang.Object
com.atlassian.confluence.diff.marshallers.DiffMacroMarshaller
- All Implemented Interfaces:
Marshaller<MacroDefinition>
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionDiffMacroMarshaller(MacroManager macroManager, XMLOutputFactory xmlOutputFactory) -
Method Summary
Modifier and TypeMethodDescriptionmarshal(MacroDefinition macroDefinition, ConversionContext conversionContext) Marshals an object to XML.
-
Field Details
-
MACRO_CLASS
- See Also:
-
BODYLESS_MACRO_CLASS
- See Also:
-
-
Constructor Details
-
DiffMacroMarshaller
-
-
Method Details
-
marshal
public Streamable marshal(MacroDefinition macroDefinition, ConversionContext conversionContext) throws XhtmlException Description copied from interface:MarshallerMarshals an object to XML.- Specified by:
marshalin interfaceMarshaller<MacroDefinition>- Parameters:
macroDefinition- object to marshalconversionContext- the conversion context- Returns:
- the XML representation of the object
- Throws:
XhtmlException- if an error occurs during marshalling
-