com.atlassian.confluence.content.render.xhtml.view.inlinetask
Class ViewInlineTaskMarshaller

java.lang.Object
  extended by com.atlassian.confluence.content.render.xhtml.view.inlinetask.ViewInlineTaskMarshaller
All Implemented Interfaces:
Marshaller<InlineTaskList>

public class ViewInlineTaskMarshaller
extends java.lang.Object
implements Marshaller<InlineTaskList>


Constructor Summary
ViewInlineTaskMarshaller(javax.xml.stream.XMLOutputFactory xmlOutputFactory, MarshallingRegistry registry)
           
 
Method Summary
protected  java.lang.String getIdentifyingCssClass()
           
 Streamable marshal(InlineTaskList inlineTaskList, ConversionContext conversionContext)
          Marshals an object to XML.
protected  void writeContentId(javax.xml.stream.XMLStreamWriter xmlStreamWriter, java.lang.String contentId)
           
protected  void writeInlineTaskImage(javax.xml.stream.XMLStreamWriter xmlStreamWriter, InlineTaskListItem listItem)
           
protected  void writeStatusAttribute(javax.xml.stream.XMLStreamWriter xmlStreamWriter, InlineTaskListItem listItem)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ViewInlineTaskMarshaller

public ViewInlineTaskMarshaller(javax.xml.stream.XMLOutputFactory xmlOutputFactory,
                                MarshallingRegistry registry)
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

writeContentId

protected void writeContentId(javax.xml.stream.XMLStreamWriter xmlStreamWriter,
                              java.lang.String contentId)
                       throws javax.xml.stream.XMLStreamException
Throws:
javax.xml.stream.XMLStreamException

getIdentifyingCssClass

protected java.lang.String getIdentifyingCssClass()

writeStatusAttribute

protected void writeStatusAttribute(javax.xml.stream.XMLStreamWriter xmlStreamWriter,
                                    InlineTaskListItem listItem)
                             throws javax.xml.stream.XMLStreamException
Throws:
javax.xml.stream.XMLStreamException

writeInlineTaskImage

protected void writeInlineTaskImage(javax.xml.stream.XMLStreamWriter xmlStreamWriter,
                                    InlineTaskListItem listItem)
                             throws javax.xml.stream.XMLStreamException
Throws:
javax.xml.stream.XMLStreamException


Copyright © 2003-2014 Atlassian. All Rights Reserved.