com.atlassian.confluence.content.render.xhtml.view.link
Class ViewUnresolvedLinkMarshaller
java.lang.Object
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>
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ViewUnresolvedLinkMarshaller
public ViewUnresolvedLinkMarshaller(XmlStreamWriterTemplate xmlStreamWriterTemplate,
StaxStreamMarshaller<ResourceIdentifier> resourceIdentifierStaxStreamMarshaller,
Marshaller<Link> unresolvedLinkBodyMarshaller,
ModelToRenderedClassMapper mapper)
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 marshalconversionContext
- 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