com.atlassian.confluence.diff.marshallers
Class DiffInlineTaskMarshaller

java.lang.Object
  extended by com.atlassian.confluence.diff.marshallers.DiffInlineTaskMarshaller
All Implemented Interfaces:
Marshaller<InlineTaskList>

public class DiffInlineTaskMarshaller
extends Object
implements Marshaller<InlineTaskList>

This DiffInlineTaskMarshaller outputs inline task lists in a diffable way:


Constructor Summary
DiffInlineTaskMarshaller(XMLOutputFactory xmlOutputFactory)
           
 
Method Summary
 Streamable marshal(InlineTaskList inlineTaskList, ConversionContext conversionContext)
          Marshals an object to XML.
protected  void writeInlineTaskImage(XMLStreamWriter xmlStreamWriter, InlineTaskListItem listItem)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DiffInlineTaskMarshaller

public DiffInlineTaskMarshaller(XMLOutputFactory xmlOutputFactory)
Method Detail

marshal

public Streamable marshal(InlineTaskList inlineTaskList,
                          ConversionContext conversionContext)
                   throws XhtmlException
Description copied from interface: Marshaller
Marshals an object to XML.

Specified by:
marshal in interface Marshaller<InlineTaskList>
Parameters:
inlineTaskList - object to marshal
conversionContext - the conversion context
Returns:
the XML representation of the object
Throws:
XhtmlException - if an error occurs during marshalling

writeInlineTaskImage

protected void writeInlineTaskImage(XMLStreamWriter xmlStreamWriter,
                                    InlineTaskListItem listItem)
                             throws XMLStreamException
Throws:
XMLStreamException


Copyright © 2003–2015 Atlassian. All rights reserved.