com.atlassian.confluence.content.render.xhtml.storage.embed
Class StorageEmbeddedImageMarshaller

java.lang.Object
  extended by com.atlassian.confluence.content.render.xhtml.storage.embed.StorageEmbeddedImageMarshaller
All Implemented Interfaces:
Marshaller<EmbeddedImage>

public class StorageEmbeddedImageMarshaller
extends Object
implements Marshaller<EmbeddedImage>


Constructor Summary
StorageEmbeddedImageMarshaller(XmlStreamWriterTemplate xmlStreamWriterTemplate, Marshaller<ResourceIdentifier> resourceIdentifierMarshaller)
           
 
Method Summary
 String marshal(EmbeddedImage embeddedImage, ConversionContext conversionContext)
          Marshals an object to XML.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

StorageEmbeddedImageMarshaller

public StorageEmbeddedImageMarshaller(XmlStreamWriterTemplate xmlStreamWriterTemplate,
                                      Marshaller<ResourceIdentifier> resourceIdentifierMarshaller)
Method Detail

marshal

public String marshal(EmbeddedImage embeddedImage,
                      ConversionContext conversionContext)
               throws XhtmlException
Description copied from interface: Marshaller
Marshals an object to XML.

Specified by:
marshal in interface Marshaller<EmbeddedImage>
Parameters:
embeddedImage - object to marshal
conversionContext - the conversion context
Returns:
the XML representation of the object
Throws:
XhtmlException


Copyright © 2003-2011 Atlassian. All Rights Reserved.