Class StorageBlogPostResourceIdentifierMarshaller
- java.lang.Object
-
- com.atlassian.confluence.content.render.xhtml.storage.resource.identifiers.StorageBlogPostResourceIdentifierMarshaller
-
- All Implemented Interfaces:
Marshaller<BlogPostResourceIdentifier>
public class StorageBlogPostResourceIdentifierMarshaller extends Object implements Marshaller<BlogPostResourceIdentifier>
-
-
Constructor Summary
Constructors Constructor Description StorageBlogPostResourceIdentifierMarshaller(XmlStreamWriterTemplate xmlStreamWriterTemplate)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Streamable
marshal(BlogPostResourceIdentifier resourceIdentifier, ConversionContext conversionContext)
Marshal the provided resource identifier.
-
-
-
Constructor Detail
-
StorageBlogPostResourceIdentifierMarshaller
public StorageBlogPostResourceIdentifierMarshaller(XmlStreamWriterTemplate xmlStreamWriterTemplate)
-
-
Method Detail
-
marshal
public Streamable marshal(BlogPostResourceIdentifier resourceIdentifier, ConversionContext conversionContext) throws XhtmlException
Marshal the provided resource identifier. If the there are no properties on the identifier then the empty String will be returned.- Specified by:
marshal
in interfaceMarshaller<BlogPostResourceIdentifier>
- Parameters:
resourceIdentifier
- object to marshalconversionContext
- the conversion context- Returns:
- the XML representation of the object
- Throws:
XhtmlException
- if an error occurs during marshalling
-
-