Class ViewInlineTaskMarshaller
java.lang.Object
com.atlassian.confluence.content.render.xhtml.view.inlinetask.ViewInlineTaskMarshaller
- All Implemented Interfaces:
Marshaller<InlineTaskList>
-
Constructor Summary
ConstructorsConstructorDescriptionViewInlineTaskMarshaller(XMLOutputFactory xmlOutputFactory, MarshallingRegistry registry) -
Method Summary
Modifier and TypeMethodDescriptionprotected Stringmarshal(InlineTaskList inlineTaskList, ConversionContext conversionContext) Marshals an object to XML.protected voidwriteContentId(XMLStreamWriter xmlStreamWriter, String contentId) protected voidwriteInlineTaskImage(XMLStreamWriter xmlStreamWriter, InlineTaskListItem listItem) protected voidwriteStatusAttribute(XMLStreamWriter xmlStreamWriter, InlineTaskListItem listItem)
-
Constructor Details
-
ViewInlineTaskMarshaller
-
-
Method Details
-
marshal
public Streamable marshal(InlineTaskList inlineTaskList, ConversionContext conversionContext) throws XhtmlException Description copied from interface:MarshallerMarshals an object to XML.- Specified by:
marshalin 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
-
writeStatusAttribute
protected void writeStatusAttribute(XMLStreamWriter xmlStreamWriter, InlineTaskListItem listItem) throws XMLStreamException - Throws:
XMLStreamException
-
writeInlineTaskImage
protected void writeInlineTaskImage(XMLStreamWriter xmlStreamWriter, InlineTaskListItem listItem) throws XMLStreamException - Throws:
XMLStreamException
-