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

All Known Implementing Classes:
DelegatingLinkMarshaller, DelegatingResourceIdentifierMarshaller, DiffLinkMarshaller, DiffMacroMarshaller, EditorEmoticonMarshaller, EditorMacroMarshaller, EditorUnresolvedLinkMarshaller, EmbeddedImageMarshaller, MakeRelativeAndDelegateResourceIdentifierMarshaller, StorageAttachmentResourceIdentifierMarshaller, StorageBlogPostResourceIdentifierMarshaller, StorageContentEntityResourceIdentifierMarshaller, StorageEmbeddedImageMarshaller, StorageEmoticonMarshaller, StorageLinkBodyMarshaller, StorageLinkMarshaller, StorageMacroMarshaller, StoragePageResourceIdentifierMarshaller, StorageShortcutResourceIdentifierMarshaller, StorageSpaceResourceIdentifierMarshaller, StorageUrlResourceIdentifierMarshaller, StorageUserResourceIdentifierMarshaller, UrlLinkMarshaller, ViewAttachmentLinkMarshaller, ViewBlogPostLinkMarshaller, ViewContentEntityLinkMarshaller, ViewCreatePageLinkMarshaller, ViewDraftLinkMarshaller, ViewEmoticonMarshaller, ViewIdAndTypeLinkMarshaller, ViewLinkBodyMarshaller, ViewMacroMarshaller, ViewPageLinkMarshaller, ViewShortcutLinkMarshaller, ViewSpaceLinkMarshaller, ViewUnresolvedLinkBodyMarshaller, ViewUnresolvedLinkMarshaller, ViewUserLinkMarshaller

public interface Marshaller<T>

Responsible for marshalling an XML fragment.


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

Method Detail

marshal

String 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:
MarshalException - if an error occurs during marshalling
XhtmlException


Copyright © 2003-2011 Atlassian. All Rights Reserved.