public class MakeRelativeAndDelegateResourceIdentifierMarshaller extends Object implements Marshaller<ResourceIdentifier>
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.
Constructor and Description |
---|
MakeRelativeAndDelegateResourceIdentifierMarshaller(Marshaller<ResourceIdentifier> delegate,
ResourceIdentifierContextUtility resourceIdentifierContextUtility) |
Modifier and Type | Method and Description |
---|---|
Streamable |
marshal(ResourceIdentifier resourceId,
ConversionContext conversionContext)
Marshals an object to XML.
|
public MakeRelativeAndDelegateResourceIdentifierMarshaller(Marshaller<ResourceIdentifier> delegate, ResourceIdentifierContextUtility resourceIdentifierContextUtility)
public Streamable marshal(ResourceIdentifier resourceId, ConversionContext conversionContext) throws XhtmlException
Marshaller
marshal
in interface Marshaller<ResourceIdentifier>
resourceId
- object to marshalconversionContext
- the conversion contextXhtmlException
- if an error occurs during marshallingCopyright © 2003–2020 Atlassian. All rights reserved.