Class ViewEmbeddedImageMarshaller
- java.lang.Object
-
- com.atlassian.confluence.content.render.xhtml.view.embed.EmbeddedImageMarshaller
-
- com.atlassian.confluence.content.render.xhtml.view.embed.ViewEmbeddedImageMarshaller
-
- All Implemented Interfaces:
Marshaller<EmbeddedImage>
public class ViewEmbeddedImageMarshaller extends EmbeddedImageMarshaller
-
-
Field Summary
-
Fields inherited from class com.atlassian.confluence.content.render.xhtml.view.embed.EmbeddedImageMarshaller
xmlStreamWriterTemplate
-
-
Constructor Summary
Constructors Constructor Description ViewEmbeddedImageMarshaller(XmlStreamWriterTemplate xmlStreamWriterTemplate, AttachedImageMarshaller attachedImageMarshaller)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Streamablemarshal(EmbeddedImage embeddedImage, ConversionContext conversionContext)Marshals an object to XML.
-
-
-
Constructor Detail
-
ViewEmbeddedImageMarshaller
public ViewEmbeddedImageMarshaller(XmlStreamWriterTemplate xmlStreamWriterTemplate, AttachedImageMarshaller attachedImageMarshaller)
-
-
Method Detail
-
marshal
public Streamable marshal(EmbeddedImage embeddedImage, ConversionContext conversionContext) throws XhtmlException
Description copied from interface:MarshallerMarshals an object to XML.- Specified by:
marshalin interfaceMarshaller<EmbeddedImage>- Overrides:
marshalin classEmbeddedImageMarshaller- Parameters:
embeddedImage- object to marshalconversionContext- the conversion context- Returns:
- the XML representation of the object
- Throws:
XhtmlException- if an error occurs during marshalling
-
-