com.atlassian.confluence.content.render.xhtml.view.link
Class ViewPageLinkMarshaller
java.lang.Object
com.atlassian.confluence.content.render.xhtml.view.link.ViewPageLinkMarshaller
- All Implemented Interfaces:
- Marshaller<Link>
public class ViewPageLinkMarshaller
- extends Object
- implements Marshaller<Link>
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ViewPageLinkMarshaller
public ViewPageLinkMarshaller(ResourceIdentifierResolver<PageResourceIdentifier,Page> resourceIdentifierResolver,
PermissionManager permissionManager,
XmlStreamWriterTemplate xmlStreamWriterTemplate,
Marshaller<CreatePageLink> createPageLinkMarshaller,
Marshaller<Link> linkBodyMarshaller,
HrefEvaluator hrefEvaluator,
StaxStreamMarshaller<Link> linkStaxStreamMarshaller,
Marshaller<Link> unresolvedLinkMarshaller,
ModelToRenderedClassMapper mapper)
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