Class MakeRelativeAndDelegateResourceIdentifierMarshaller

java.lang.Object
com.atlassian.confluence.content.render.xhtml.storage.resource.identifiers.MakeRelativeAndDelegateResourceIdentifierMarshaller
All Implemented Interfaces:
Marshaller<ResourceIdentifier>

public class MakeRelativeAndDelegateResourceIdentifierMarshaller extends Object implements Marshaller<ResourceIdentifier>
A Marshaller for ResourceIdentifiers which will first attempt to make the ResourceIdentifier as relative as possible before delegating for actual marshalling.

A relative resource identifier could be either space relative meaning that it has no space key or may be 'entity relative' which means it is not required at all. In the latter case marshalling of the supplied ResourceIdentifier will produce an empty String.