public class DiffMacroMarshaller extends java.lang.Object implements Marshaller<MacroDefinition>
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
BODYLESS_MACRO_CLASS |
static java.lang.String |
MACRO_CLASS |
Constructor and Description |
---|
DiffMacroMarshaller(MacroManager macroManager,
javax.xml.stream.XMLOutputFactory xmlOutputFactory) |
Modifier and Type | Method and Description |
---|---|
Streamable |
marshal(MacroDefinition macroDefinition,
ConversionContext conversionContext)
Marshals an object to XML.
|
public static final java.lang.String MACRO_CLASS
public static final java.lang.String BODYLESS_MACRO_CLASS
public DiffMacroMarshaller(MacroManager macroManager, javax.xml.stream.XMLOutputFactory xmlOutputFactory)
public Streamable marshal(MacroDefinition macroDefinition, ConversionContext conversionContext) throws XhtmlException
Marshaller
marshal
in interface Marshaller<MacroDefinition>
macroDefinition
- object to marshalconversionContext
- the conversion contextXhtmlException
- if an error occurs during marshallingCopyright © 2003-2014 Atlassian. All Rights Reserved.