Class ViewUnresolvedLinkMarshaller
java.lang.Object
com.atlassian.confluence.content.render.xhtml.view.link.ViewUnresolvedLinkMarshaller
- All Implemented Interfaces:
Marshaller<UnresolvedLink>
- Direct Known Subclasses:
EditorUnresolvedLinkMarshaller
-
Constructor Summary
ConstructorsConstructorDescriptionViewUnresolvedLinkMarshaller
(XmlStreamWriterTemplate xmlStreamWriterTemplate, StaxStreamMarshaller<ResourceIdentifier> resourceIdentifierStaxStreamMarshaller, Marshaller<Link> unresolvedLinkBodyMarshaller, ModelToRenderedClassMapper mapper) -
Method Summary
Modifier and TypeMethodDescriptionmarshal
(UnresolvedLink unresolvedLink, ConversionContext conversionContext) Marshals an object to XML.protected void
writeAdditionalAttributes
(UnresolvedLink unresolvedLink, XMLStreamWriter xmlStreamWriter, Marshaller<Link> unresolvedLinkBodyMarshaller, ConversionContext conversionContext)
-
Constructor Details
-
ViewUnresolvedLinkMarshaller
public ViewUnresolvedLinkMarshaller(XmlStreamWriterTemplate xmlStreamWriterTemplate, StaxStreamMarshaller<ResourceIdentifier> resourceIdentifierStaxStreamMarshaller, Marshaller<Link> unresolvedLinkBodyMarshaller, ModelToRenderedClassMapper mapper)
-
-
Method Details
-
marshal
public Streamable marshal(UnresolvedLink unresolvedLink, ConversionContext conversionContext) throws XhtmlException Description copied from interface:Marshaller
Marshals an object to XML.- Specified by:
marshal
in interfaceMarshaller<UnresolvedLink>
- Parameters:
unresolvedLink
- object to marshalconversionContext
- the conversion context- Returns:
- the XML representation of the object
- Throws:
XhtmlException
- if an error occurs during marshalling
-
writeAdditionalAttributes
protected void writeAdditionalAttributes(UnresolvedLink unresolvedLink, XMLStreamWriter xmlStreamWriter, Marshaller<Link> unresolvedLinkBodyMarshaller, ConversionContext conversionContext) throws XMLStreamException - Throws:
XMLStreamException
-