Class DelegatingResourceIdentifierMarshaller
java.lang.Object
com.atlassian.confluence.content.render.xhtml.storage.resource.identifiers.DelegatingResourceIdentifierMarshaller
- All Implemented Interfaces:
Marshaller<ResourceIdentifier>
public class DelegatingResourceIdentifierMarshaller
extends Object
implements Marshaller<ResourceIdentifier>
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionmarshal
(ResourceIdentifier resourceIdentifier, ConversionContext conversionContext) Marshals an object to XML.void
setAttachmentResourceIdentifierMarshaller
(Marshaller<AttachmentResourceIdentifier> attachmentResourceIdentifierMarshaller) void
setBlogPostResourceIdentifierMarshaller
(Marshaller<BlogPostResourceIdentifier> blogPostResourceIdentifierMarshaller) void
setContentEntityResourceIdentifierMarshaller
(Marshaller<ContentEntityResourceIdentifier> contentEntityResourceIdentifierMarshaller) void
setPageResourceIdentifierMarshaller
(Marshaller<PageResourceIdentifier> pageResourceIdentifierMarshaller) void
setShortcutResourceIdentifierMarshaller
(Marshaller<ShortcutResourceIdentifier> shortcutResourceIdentifierMarshaller) void
setSpaceResourceIdentifierMarshaller
(Marshaller<SpaceResourceIdentifier> spaceResourceIdentifierMarshaller) void
setUrlResourceIdentifierMarshaller
(Marshaller<UrlResourceIdentifier> urlResourceIdentifierMarshaller) void
setUserResourceIdentifierMarshaller
(Marshaller<UserResourceIdentifier> userResourceIdentifierMarshaller)
-
Constructor Details
-
DelegatingResourceIdentifierMarshaller
public DelegatingResourceIdentifierMarshaller()
-
-
Method Details
-
marshal
public Streamable marshal(ResourceIdentifier resourceIdentifier, ConversionContext conversionContext) throws XhtmlException Description copied from interface:Marshaller
Marshals an object to XML.- Specified by:
marshal
in interfaceMarshaller<ResourceIdentifier>
- Parameters:
resourceIdentifier
- object to marshalconversionContext
- the conversion context- Returns:
- the XML representation of the object
- Throws:
XhtmlException
- if an error occurs during marshalling
-
setPageResourceIdentifierMarshaller
public void setPageResourceIdentifierMarshaller(Marshaller<PageResourceIdentifier> pageResourceIdentifierMarshaller) -
setBlogPostResourceIdentifierMarshaller
public void setBlogPostResourceIdentifierMarshaller(Marshaller<BlogPostResourceIdentifier> blogPostResourceIdentifierMarshaller) -
setAttachmentResourceIdentifierMarshaller
public void setAttachmentResourceIdentifierMarshaller(Marshaller<AttachmentResourceIdentifier> attachmentResourceIdentifierMarshaller) -
setUrlResourceIdentifierMarshaller
public void setUrlResourceIdentifierMarshaller(Marshaller<UrlResourceIdentifier> urlResourceIdentifierMarshaller) -
setShortcutResourceIdentifierMarshaller
public void setShortcutResourceIdentifierMarshaller(Marshaller<ShortcutResourceIdentifier> shortcutResourceIdentifierMarshaller) -
setUserResourceIdentifierMarshaller
public void setUserResourceIdentifierMarshaller(Marshaller<UserResourceIdentifier> userResourceIdentifierMarshaller) -
setSpaceResourceIdentifierMarshaller
public void setSpaceResourceIdentifierMarshaller(Marshaller<SpaceResourceIdentifier> spaceResourceIdentifierMarshaller) -
setContentEntityResourceIdentifierMarshaller
public void setContentEntityResourceIdentifierMarshaller(Marshaller<ContentEntityResourceIdentifier> contentEntityResourceIdentifierMarshaller)
-