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>
-
Field Summary
Fields inherited from class com.atlassian.confluence.content.render.xhtml.view.embed.EmbeddedImageMarshaller
xmlStreamWriterTemplate -
Constructor Summary
ConstructorsConstructorDescriptionViewEmbeddedImageMarshaller(XmlStreamWriterTemplate xmlStreamWriterTemplate, AttachedImageMarshaller attachedImageMarshaller) -
Method Summary
Modifier and TypeMethodDescriptionmarshal(EmbeddedImage embeddedImage, ConversionContext conversionContext) Marshals an object to XML.
-
Constructor Details
-
ViewEmbeddedImageMarshaller
public ViewEmbeddedImageMarshaller(XmlStreamWriterTemplate xmlStreamWriterTemplate, AttachedImageMarshaller attachedImageMarshaller)
-
-
Method Details
-
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
-