com.atlassian.confluence.content.render.xhtml
Interface Marshaller<T>

All Known Implementing Classes:
DelegatingLinkMarshaller, DelegatingResourceIdentifierMarshaller, DelegatingStorageMacroMarshaller, DiffInlineTaskMarshaller, DiffLinkMarshaller, DiffMacroMarshaller, EditorEmoticonMarshaller, EditorMacroMarshaller, EditorPlaceholderMarshaller, EditorUnresolvedLinkMarshaller, EmbeddedImageMarshaller, MakeRelativeAndDelegateResourceIdentifierMarshaller, StorageAttachmentResourceIdentifierMarshaller, StorageBlogPostResourceIdentifierMarshaller, StorageContentEntityResourceIdentifierMarshaller, StorageEmbeddedImageMarshaller, StorageEmoticonMarshaller, StorageInlineTaskMarshaller, StorageLinkBodyMarshaller, StorageLinkMarshaller, StorageMacroV1Marshaller, StorageMacroV2Marshaller, StoragePageLayoutMarshaller, StoragePageResourceIdentifierMarshaller, StoragePlaceholderMarshaller, StorageShortcutResourceIdentifierMarshaller, StorageSpaceResourceIdentifierMarshaller, StorageTimeMarshaller, StorageUrlResourceIdentifierMarshaller, StorageUserResourceIdentifierMarshaller, UrlLinkMarshaller, ViewAttachmentLinkMarshaller, ViewBlogPostLinkMarshaller, ViewContentEntityLinkMarshaller, ViewCreatePageLinkMarshaller, ViewDraftLinkMarshaller, ViewEmoticonMarshaller, ViewIdAndTypeLinkMarshaller, ViewInlineTaskMarshaller, ViewLinkBodyMarshaller, ViewMacroMarshaller, ViewPageLayoutMarshaller, ViewPageLinkMarshaller, ViewPlaceholderMarshaller, ViewShortcutLinkMarshaller, ViewSpaceLinkMarshaller, ViewTimeMarshaller, ViewUnknownMacroMarshaller, ViewUnresolvedLinkBodyMarshaller, ViewUnresolvedLinkMarshaller, ViewUserLinkMarshaller

public interface Marshaller<T>

Responsible for marshalling an XML fragment.


Method Summary
 Streamable marshal(T object, ConversionContext conversionContext)
          Marshals an object to XML.
 

Method Detail

marshal

Streamable marshal(T object,
                   ConversionContext conversionContext)
                   throws XhtmlException
Marshals an object to XML.

Parameters:
object - object to marshal
conversionContext - the conversion context
Returns:
the XML representation of the object
Throws:
XhtmlException - if an error occurs during marshalling


Copyright © 2003-2014 Atlassian. All Rights Reserved.