Class ViewInlineTaskMarshaller
- java.lang.Object
-
- com.atlassian.confluence.content.render.xhtml.view.inlinetask.ViewInlineTaskMarshaller
-
- All Implemented Interfaces:
Marshaller<InlineTaskList>
public class ViewInlineTaskMarshaller extends Object implements Marshaller<InlineTaskList>
-
-
Constructor Summary
Constructors Constructor Description ViewInlineTaskMarshaller(XMLOutputFactory xmlOutputFactory, MarshallingRegistry registry)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected String
getIdentifyingCssClass()
Streamable
marshal(InlineTaskList inlineTaskList, ConversionContext conversionContext)
Marshals an object to XML.protected void
writeContentId(XMLStreamWriter xmlStreamWriter, String contentId)
protected void
writeInlineTaskImage(XMLStreamWriter xmlStreamWriter, InlineTaskListItem listItem)
protected void
writeStatusAttribute(XMLStreamWriter xmlStreamWriter, InlineTaskListItem listItem)
-
-
-
Constructor Detail
-
ViewInlineTaskMarshaller
public ViewInlineTaskMarshaller(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 interfaceMarshaller<InlineTaskList>
- Parameters:
inlineTaskList
- object to marshalconversionContext
- the conversion context- Returns:
- the XML representation of the object
- Throws:
XhtmlException
- if an error occurs during marshalling
-
writeContentId
protected void writeContentId(XMLStreamWriter xmlStreamWriter, String contentId) throws XMLStreamException
- Throws:
XMLStreamException
-
getIdentifyingCssClass
protected String getIdentifyingCssClass()
-
writeStatusAttribute
protected void writeStatusAttribute(XMLStreamWriter xmlStreamWriter, InlineTaskListItem listItem) throws XMLStreamException
- Throws:
XMLStreamException
-
writeInlineTaskImage
protected void writeInlineTaskImage(XMLStreamWriter xmlStreamWriter, InlineTaskListItem listItem) throws XMLStreamException
- Throws:
XMLStreamException
-
-