|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.atlassian.confluence.content.render.xhtml.storage.resource.identifiers.MakeRelativeAndDelegateResourceIdentifierMarshaller
public class MakeRelativeAndDelegateResourceIdentifierMarshaller
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.
Constructor Summary | |
---|---|
MakeRelativeAndDelegateResourceIdentifierMarshaller(Marshaller<ResourceIdentifier> delegate,
ResourceIdentifierContextUtility resourceIdentifierContextUtility)
|
Method Summary | |
---|---|
Streamable |
marshal(ResourceIdentifier resourceId,
ConversionContext conversionContext)
Marshals an object to XML. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public MakeRelativeAndDelegateResourceIdentifierMarshaller(Marshaller<ResourceIdentifier> delegate, ResourceIdentifierContextUtility resourceIdentifierContextUtility)
Method Detail |
---|
public Streamable marshal(ResourceIdentifier resourceId, ConversionContext conversionContext) throws XhtmlException
Marshaller
marshal
in interface Marshaller<ResourceIdentifier>
resourceId
- object to marshalconversionContext
- the conversion context
XhtmlException
- if an error occurs during marshalling
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |