Class StoragePageResourceIdentifierMarshaller
java.lang.Object
com.atlassian.confluence.content.render.xhtml.storage.resource.identifiers.StoragePageResourceIdentifierMarshaller
- All Implemented Interfaces:
Marshaller<PageResourceIdentifier>
public class StoragePageResourceIdentifierMarshaller
extends Object
implements Marshaller<PageResourceIdentifier>
-
Constructor Summary
ConstructorsConstructorDescriptionStoragePageResourceIdentifierMarshaller(XmlStreamWriterTemplate xmlStreamWriterTemplate) -
Method Summary
Modifier and TypeMethodDescriptionmarshal(PageResourceIdentifier pageResourceIdentifier, ConversionContext conversionContext) Marshal the provided resource identifier.
-
Constructor Details
-
StoragePageResourceIdentifierMarshaller
-
-
Method Details
-
marshal
public Streamable marshal(PageResourceIdentifier pageResourceIdentifier, 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:
marshalin interfaceMarshaller<PageResourceIdentifier>- Parameters:
pageResourceIdentifier- object to marshalconversionContext- the conversion context- Returns:
- the XML representation of the object
- Throws:
XhtmlException- if an error occurs during marshalling
-