Interface Marshaller<T>

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

public interface Marshaller<T>
Responsible for marshalling an XML fragment.
  • Method Summary

    Modifier and Type
    Method
    Description
    marshal(T object, ConversionContext conversionContext)
    Marshals an object to XML.
  • Method Details

    • 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