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 Object
implements Marshaller<PageResourceIdentifier>


Constructor Summary
StoragePageResourceIdentifierMarshaller(XmlStreamWriterTemplate xmlStreamWriterTemplate)
           
 
Method Summary
 String 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 String 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


Copyright © 2003-2012 Atlassian. All Rights Reserved.