com.atlassian.confluence.content.render.xhtml.view.link
Class ViewLinkBodyMarshaller
java.lang.Object
com.atlassian.confluence.content.render.xhtml.view.link.ViewLinkBodyMarshaller
- All Implemented Interfaces:
- Marshaller<Link>
public class ViewLinkBodyMarshaller
- extends Object
- implements Marshaller<Link>
Marshals link bodies for view.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ViewLinkBodyMarshaller
public ViewLinkBodyMarshaller(Marshaller<EmbeddedResource> embeddedResourceMarshaller,
ResourceIdentifierResolver<IdAndTypeResourceIdentifier,Object> idAndTypeResourceIdentifierResolver)
marshal
public String marshal(Link link,
ConversionContext conversionContext)
throws XhtmlException
- Description copied from interface:
Marshaller
- Marshals an object to XML.
- Specified by:
marshal
in interface Marshaller<Link>
- Parameters:
link
- object to marshalconversionContext
- the conversion context
- Returns:
- the XML representation of the object
- Throws:
XhtmlException