com.atlassian.confluence.content.render.xhtml.storage.resource.identifiers
Class StoragePageResourceIdentifierMarshaller

java.lang.Object
  extended by com.atlassian.confluence.content.render.xhtml.storage.resource.identifiers.StoragePageResourceIdentifierMarshaller
All Implemented Interfaces:
Marshaller<PageResourceIdentifier>

public class StoragePageResourceIdentifierMarshaller
extends java.lang.Object
implements Marshaller<PageResourceIdentifier>


Constructor Summary
StoragePageResourceIdentifierMarshaller(XmlStreamWriterTemplate xmlStreamWriterTemplate)
           
 
Method Summary
 Streamable marshal(PageResourceIdentifier pageResourceIdentifier, ConversionContext conversionContext)
          Marshal the provided resource identifier.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

StoragePageResourceIdentifierMarshaller

public StoragePageResourceIdentifierMarshaller(XmlStreamWriterTemplate xmlStreamWriterTemplate)
Method Detail

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:
marshal in interface Marshaller<PageResourceIdentifier>
Parameters:
pageResourceIdentifier - object to marshal
conversionContext - the conversion context
Returns:
the XML representation of the object
Throws:
XhtmlException - if an error occurs during marshalling


Copyright © 2003-2014 Atlassian. All Rights Reserved.