com.atlassian.confluence.content.render.xhtml.view.link
Class ViewUnresolvedLinkMarshaller

java.lang.Object
  extended by com.atlassian.confluence.content.render.xhtml.view.link.ViewUnresolvedLinkMarshaller
All Implemented Interfaces:
Marshaller<UnresolvedLink>
Direct Known Subclasses:
EditorUnresolvedLinkMarshaller

public class ViewUnresolvedLinkMarshaller
extends Object
implements Marshaller<UnresolvedLink>


Constructor Summary
ViewUnresolvedLinkMarshaller(XmlStreamWriterTemplate xmlStreamWriterTemplate, StaxStreamMarshaller<ResourceIdentifier> resourceIdentifierStaxStreamMarshaller, Marshaller<Link> unresolvedLinkBodyMarshaller, ModelToRenderedClassMapper mapper)
           
 
Method Summary
 String marshal(UnresolvedLink unresolvedLink, ConversionContext conversionContext)
          Marshals an object to XML.
protected  void writeAdditionalAttributes(UnresolvedLink unresolvedLink, XMLStreamWriter xmlStreamWriter, Marshaller<Link> unresolvedLinkBodyMarshaller, ConversionContext conversionContext)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ViewUnresolvedLinkMarshaller

public ViewUnresolvedLinkMarshaller(XmlStreamWriterTemplate xmlStreamWriterTemplate,
                                    StaxStreamMarshaller<ResourceIdentifier> resourceIdentifierStaxStreamMarshaller,
                                    Marshaller<Link> unresolvedLinkBodyMarshaller,
                                    ModelToRenderedClassMapper mapper)
Method Detail

marshal

public String marshal(UnresolvedLink unresolvedLink,
                      ConversionContext conversionContext)
               throws XhtmlException
Description copied from interface: Marshaller
Marshals an object to XML.

Specified by:
marshal in interface Marshaller<UnresolvedLink>
Parameters:
unresolvedLink - object to marshal
conversionContext - the conversion context
Returns:
the XML representation of the object
Throws:
XhtmlException

writeAdditionalAttributes

protected void writeAdditionalAttributes(UnresolvedLink unresolvedLink,
                                         XMLStreamWriter xmlStreamWriter,
                                         Marshaller<Link> unresolvedLinkBodyMarshaller,
                                         ConversionContext conversionContext)
                                  throws XMLStreamException
Throws:
XMLStreamException


Copyright © 2003-2012 Atlassian. All Rights Reserved.