public class EmbeddedImageMarshaller extends Object implements Marshaller<EmbeddedImage>
Modifier and Type | Field and Description |
---|---|
protected XmlStreamWriterTemplate |
xmlStreamWriterTemplate |
Constructor and Description |
---|
EmbeddedImageMarshaller(XmlStreamWriterTemplate xmlStreamWriterTemplate,
AttachedImageMarshaller attachedImageMarshaller) |
Modifier and Type | Method and Description |
---|---|
Streamable |
marshal(EmbeddedImage embeddedImage,
ConversionContext conversionContext)
Marshals an object to XML.
|
protected final XmlStreamWriterTemplate xmlStreamWriterTemplate
public EmbeddedImageMarshaller(XmlStreamWriterTemplate xmlStreamWriterTemplate, AttachedImageMarshaller attachedImageMarshaller)
public Streamable marshal(EmbeddedImage embeddedImage, ConversionContext conversionContext) throws XhtmlException
Marshaller
marshal
in interface Marshaller<EmbeddedImage>
embeddedImage
- object to marshalconversionContext
- the conversion contextXhtmlException
- if an error occurs during marshallingCopyright © 2003–2020 Atlassian. All rights reserved.